From 8eb84f9ed3e7929d752a2f1830fe7a7a59ad41f4 Mon Sep 17 00:00:00 2001 From: program-- Date: Mon, 10 Jul 2023 09:10:22 -0700 Subject: [PATCH] rev: get_property takes in reference to string changes per https://github.com/NOAA-OWP/ngen/pull/522#discussion_r1256304118 --- src/geopackage/properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geopackage/properties.cpp b/src/geopackage/properties.cpp index 7fd6f7f6aa..a124ebd55b 100644 --- a/src/geopackage/properties.cpp +++ b/src/geopackage/properties.cpp @@ -1,7 +1,7 @@ #include "GeoPackage.hpp" #include "JSONProperty.hpp" -geojson::JSONProperty get_property(const geopackage::sqlite_iter& row, std::string name, int type) +geojson::JSONProperty get_property(const geopackage::sqlite_iter& row, const std::string& name, int type) { if (type == SQLITE_INTEGER) { auto val = row.get(name);