Skip to content
Snippets Groups Projects
Commit 5f3bae35 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

daemon: explicitly disallow copying (C++11)

parent 79ce0560
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
*/
#define NON_COPYABLE(ClassName) \
ClassName(const ClassName&); \
ClassName& operator=(const ClassName&)
ClassName(const ClassName&) = delete; \
ClassName& operator=(const ClassName&) = delete
#endif // NON_COPYABLE_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment