浏览代码

Compilation fix for VS2015 suggested by Ivan and tested by @dydzio0614

It's compiled without it by Clang / GCC, but not MSVC++
Arseniy Shestakov 9 年之前
父节点
当前提交
e13f98e38e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/serializer/CTypeList.h

+ 1 - 1
lib/serializer/CTypeList.h

@@ -200,7 +200,7 @@ extern DLL_LINKAGE CTypeList typeList;
 /// Wrapper over CTypeList. Allows execution of templated class T for any type
 /// that was resgistered for this applier
 template<typename T>
-class CApplier
+class CApplier : boost::noncopyable
 {
 	std::map<ui16, std::unique_ptr<T>> apps;