Make LoopThread noncopyable

This commit is contained in:
Sebastian Messmer 2017-09-19 20:16:47 +01:00
parent 222ee6acf0
commit 73aab31ade
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ set(SOURCES
implementations/onblocks/datanodestore/DataNodeStore.cpp
implementations/onblocks/datatreestore/impl/algorithms.cpp
implementations/onblocks/datatreestore/impl/LeafTraverser.cpp
implementations/onblocks/datatreestore/LeafHandle.cpp
implementations/onblocks/datatreestore/LeafHandle.cpp
implementations/onblocks/datatreestore/DataTree.cpp
implementations/onblocks/datatreestore/DataTreeStore.cpp
implementations/onblocks/BlobOnBlocks.cpp

View File

@ -22,6 +22,8 @@ namespace cpputils {
private:
std::function<bool()> _loopIteration;
boost::optional<ThreadSystem::Handle> _runningHandle;
DISALLOW_COPY_AND_ASSIGN(LoopThread);
};
}