Skip to content

v0.2.54..v0.2.55 changeset RoadCrossingPolyRule.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/highway/RoadCrossingPolyRule.cpp b/hoot-core/src/main/cpp/hoot/core/conflate/highway/RoadCrossingPolyRule.cpp
index a43b518..139db2d 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/highway/RoadCrossingPolyRule.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/highway/RoadCrossingPolyRule.cpp
@@ -78,7 +78,7 @@ QList<RoadCrossingPolyRule> RoadCrossingPolyRule::readRules(const QString& rules
   {
     boost::property_tree::read_json(rulesFile.toStdString(), propTree);
   }
-  catch (boost::property_tree::json_parser::json_parser_error& e)
+  catch (const boost::property_tree::json_parser::json_parser_error& e)
   {
     throw HootException(
       QString("Error parsing JSON: %1 (line %2)")
Clone this wiki locally