Эх сурвалжийг харах

serialization specialization for vector<bool>

Former-commit-id: 22ecaade60cfa3d8f9e11fe4e8df83af92f8b8a4
Daniele Panozzo 10 жил өмнө
parent
commit
bea2b101d5

+ 1 - 1
include/igl/serialize.cpp

@@ -739,7 +739,7 @@ namespace igl
     // helper functions
     // helper functions
 
 
     template <typename T>
     template <typename T>
-    IGL_INLINE void updateMemoryMap(T& obj,size_t size)
+    IGL_INLINE void updateMemoryMap(T& obj,size_t size,std::map<std::uintptr_t,IndexedPointerBase*>& memoryMap)
     {
     {
       // check if object is already serialized
       // check if object is already serialized
       auto startPtr = new IndexedPointer<T>();
       auto startPtr = new IndexedPointer<T>();