vcpkg/ports/rtabmap/fix_link.patch

16 lines
528 B
Diff
Raw Normal View History

diff --git a/corelib/src/OctoMap.cpp b/corelib/src/OctoMap.cpp
index 8a1e1bb..d7b60da 100644
--- a/corelib/src/OctoMap.cpp
+++ b/corelib/src/OctoMap.cpp
@@ -278,10 +278,8 @@ RtabmapColorOcTree::StaticMemberInitializer::StaticMemberInitializer() {
AbstractOcTree::registerTreeType(tree);
}
-#ifndef _WIN32
// On Windows, the app freezes on start if the following is defined
RtabmapColorOcTree::StaticMemberInitializer RtabmapColorOcTree::RtabmapColorOcTreeMemberInit;
-#endif
//////////////////////////////////////