Browse Source

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

AlexVinS 9 năm trước cách đây
mục cha
commit
2aa8c79a2c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
 		{