v0.2.48..v0.2.49 changeset MultiaryReviewCommandTest.cpp
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-rnd/src/test/cpp/hoot/rnd/conflate/multiary/MultiaryReviewCommandTest.cpp b/hoot-rnd/src/test/cpp/hoot/rnd/conflate/multiary/MultiaryReviewCommandTest.cpp
index b397afc..da929e6 100644
--- a/hoot-rnd/src/test/cpp/hoot/rnd/conflate/multiary/MultiaryReviewCommandTest.cpp
+++ b/hoot-rnd/src/test/cpp/hoot/rnd/conflate/multiary/MultiaryReviewCommandTest.cpp
@@ -67,7 +67,9 @@ public:
" 'tags': { 'military': 'yes', 'name': 'James Base' } }\n"
"] \n"
"} \n";
- OsmMapPtr pMap = OsmJsonReader().loadFromString(testJsonStr);
+
+ OsmMapPtr pMap(new OsmMap());
+ OsmJsonReader().loadFromString(testJsonStr, pMap);
return pMap;
}