Skip to content

v0.2.49..v0.2.50 changeset OsmMapReader.h

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmMapReader.h b/hoot-core/src/main/cpp/hoot/core/io/OsmMapReader.h
index 0756e50..e88c758 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmMapReader.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmMapReader.h
@@ -54,7 +54,7 @@ public:
   /**
    * Opens the specified URL for reading.
    */
-  virtual void open(const QString& url) = 0;
+  virtual void open(const QString& url) { _url = url; }
 
   /**
    * Reads the specified map. When this method is complete the input will likely be closed.
@@ -102,6 +102,8 @@ protected:
    * Ignore the duplicate IDs or throw an error
    */
   bool _ignoreDuplicates;
+  /** Url of the map to open and read */
+  QString _url;
 };
 
 }
Clone this wiki locally