Pārlūkot izejas kodu

serialization specialization for vector<bool>

Former-commit-id: 22ecaade60cfa3d8f9e11fe4e8df83af92f8b8a4
Daniele Panozzo 10 gadi atpakaļ
vecāks
revīzija
bea2b101d5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/igl/serialize.cpp

+ 1 - 1
include/igl/serialize.cpp

@@ -739,7 +739,7 @@ namespace igl
     // helper functions
 
     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
       auto startPtr = new IndexedPointer<T>();