瀏覽代碼

fixed boost::optional load, regression from https://github.com/vcmi/vcmi/pull/212

AlexVinS 9 年之前
父節點
當前提交
2aa8c79a2c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/serializer/BinaryDeserializer.h

+ 1 - 0
lib/serializer/BinaryDeserializer.h

@@ -500,6 +500,7 @@ public:
 		{
 			T t;
 			load(t);
+			data = std::move(t);
 		}
 		else
 		{