Commit 5f3bae35 authored by Tristan Matthews's avatar Tristan Matthews

daemon: explicitly disallow copying (C++11)

parent 79ce0560
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
*/ */
#define NON_COPYABLE(ClassName) \ #define NON_COPYABLE(ClassName) \
ClassName(const ClassName&); \ ClassName(const ClassName&) = delete; \
ClassName& operator=(const ClassName&) ClassName& operator=(const ClassName&) = delete
#endif // NON_COPYABLE_H_ #endif // NON_COPYABLE_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment