-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.49..v0.2.50 changeset OsmApiDb.cpp
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmApiDb.cpp b/hoot-core/src/main/cpp/hoot/core/io/OsmApiDb.cpp
index 18d2d6f..f5f9165 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmApiDb.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmApiDb.cpp
@@ -158,7 +158,7 @@ bool OsmApiDb::isSupported(const QUrl& url)
bool valid = ApiDb::isSupported(url);
//postgresql is deprecated but still supported
- if (url.scheme() != "osmapidb" && url.scheme() != "postgresql")
+ if (url.scheme() != MetadataTags::OsmApiDbScheme() && url.scheme() != "postgresql")
{
valid = false;
}