vcpkg/ports/rtabmap/fix_link.patch
jim wang 29782549d0
[rtabmap] Fix link octomap failure (#35278)
* fix link octomap failure

* update version
2023-11-29 00:53:34 -08:00

16 lines
528 B
Diff

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
//////////////////////////////////////