aboutsummaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-11 22:02:56 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-10-11 22:02:56 +0200
commitb237d682f3bd1de580f814f05624dcf94610a383 (patch)
tree34164e4c2a1e5b3a4430ee5cf863fa793c6fa18c /searchcorespi
parent1aeded94c43e98b1b82c4a71530ea46ab2389bb2 (diff)
Clean up some unused code.
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/i_thread_service.h8
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h6
2 files changed, 4 insertions, 10 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/i_thread_service.h b/searchcorespi/src/vespa/searchcorespi/index/i_thread_service.h
index eefd14f7b01..40d92010c9b 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/i_thread_service.h
+++ b/searchcorespi/src/vespa/searchcorespi/index/i_thread_service.h
@@ -4,8 +4,7 @@
#include <vespa/vespalib/util/runnable.h>
#include <vespa/vespalib/util/threadexecutor.h>
-namespace searchcorespi {
-namespace index {
+namespace searchcorespi::index {
/**
* Interface for a single thread used for write tasks.
@@ -29,7 +28,4 @@ struct IThreadService : public vespalib::ThreadExecutor
};
-} // namespace index
-} // namespace searchcorespi
-
-
+}
diff --git a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h
index 65dd8cc1f3f..bded09143ab 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h
+++ b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h
@@ -7,8 +7,7 @@
#include <vespa/vespalib/util/syncable.h>
#include <vespa/searchlib/common/isequencedtaskexecutor.h>
-namespace searchcorespi {
-namespace index {
+namespace searchcorespi::index {
/**
* Interface for the thread model used for write tasks.
@@ -62,5 +61,4 @@ struct IThreadingService : public vespalib::Syncable
virtual search::ISequencedTaskExecutor &attributeFieldWriter() = 0;
};
-} // namespace index
-} // namespace searchcorespi
+}