Skip to content

Commit

Permalink
rev: get_property takes in reference to string
Browse files Browse the repository at this point in the history
changes per #522 (comment)
  • Loading branch information
program-- authored and mattw-nws committed Jul 18, 2023
1 parent 0bf8695 commit 8eb84f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geopackage/properties.cpp
Original file line number Diff line number Diff line change
@@ -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<int>(name);
Expand Down

0 comments on commit 8eb84f9

Please sign in to comment.