Skip to content

v0.2.49..v0.2.50 changeset OsmApiDbReader.cpp

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbReader.cpp b/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbReader.cpp
index a399482..fde9d63 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbReader.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmApiDbReader.cpp
@@ -60,7 +60,7 @@ OsmApiDbReader::~OsmApiDbReader()
 
 void OsmApiDbReader::open(const QString& urlStr)
 {
-  _url = urlStr;
+  OsmMapReader::open(urlStr);
   if (!isSupported(_url))
   {
     throw HootException("An unsupported URL was passed into OsmApiDbReader: " + _url);
Clone this wiki locally