diff options
Diffstat (limited to 'vbench')
-rw-r--r-- | vbench/src/vbench/core/dispatcher.cpp | 10 | ||||
-rw-r--r-- | vbench/src/vbench/core/handler_thread.cpp | 10 | ||||
-rw-r--r-- | vbench/src/vbench/core/time_queue.cpp | 10 |
3 files changed, 0 insertions, 30 deletions
diff --git a/vbench/src/vbench/core/dispatcher.cpp b/vbench/src/vbench/core/dispatcher.cpp index 82c35322ad7..7112ab3fed8 100644 --- a/vbench/src/vbench/core/dispatcher.cpp +++ b/vbench/src/vbench/core/dispatcher.cpp @@ -1,18 +1,8 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> -#pragma GCC diagnostic ignored "-Wunused-function" // This dirty one is due a suspected bug in gcc 6.2 #include "dispatcher.h" namespace vbench { -namespace { - -struct DummyItem {}; - -} // namespace vbench::<unnamed> - -template class Dispatcher<DummyItem>; - } // namespace vbench -#pragma GCC diagnostic pop diff --git a/vbench/src/vbench/core/handler_thread.cpp b/vbench/src/vbench/core/handler_thread.cpp index ca4aaccc7a5..be7cffa2beb 100644 --- a/vbench/src/vbench/core/handler_thread.cpp +++ b/vbench/src/vbench/core/handler_thread.cpp @@ -1,18 +1,8 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> -#pragma GCC diagnostic ignored "-Wunused-function" // This dirty one is due a suspected bug in gcc 6.2 #include "handler_thread.h" namespace vbench { -namespace { - -struct DummyItem {}; - -} // namespace vbench::<unnamed> - -template class HandlerThread<DummyItem>; - } // namespace vbench -#pragma GCC diagnostic pop diff --git a/vbench/src/vbench/core/time_queue.cpp b/vbench/src/vbench/core/time_queue.cpp index ab6e4691b97..20d466ae513 100644 --- a/vbench/src/vbench/core/time_queue.cpp +++ b/vbench/src/vbench/core/time_queue.cpp @@ -1,18 +1,8 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> -#pragma GCC diagnostic ignored "-Wunused-function" // This dirty one is due a suspected bug in gcc 6.2 #include "time_queue.h" namespace vbench { -namespace { - -struct DummyItem {}; - -} // namespace vbench::<unnamed> - -template class TimeQueue<DummyItem>; - } // namespace vbench -#pragma GCC diagnostic pop |