pass by value
This commit is contained in:
Dane Springmeyer 2012-01-12 14:05:03 -08:00
parent aad26ace9f
commit 46d53cb40d
2 changed files with 2 additions and 2 deletions

View file

@ -380,7 +380,7 @@ std::string postgis_datasource::populate_tokens(const std::string& sql) const
return populated_sql;
}
std::string postgis_datasource::populate_tokens(const std::string& sql, double const& scale_denom, box2d<double> const& env) const
std::string postgis_datasource::populate_tokens(const std::string& sql, double scale_denom, box2d<double> const& env) const
{
std::string populated_sql = sql;
std::string box = sql_bbox(env);

View file

@ -89,7 +89,7 @@ public:
void bind() const;
private:
std::string sql_bbox(box2d<double> const& env) const;
std::string populate_tokens(const std::string& sql, double const& scale_denom, box2d<double> const& env) const;
std::string populate_tokens(const std::string& sql, double scale_denom, box2d<double> const& env) const;
std::string populate_tokens(const std::string& sql) const;
static std::string unquote(const std::string& sql);
boost::shared_ptr<IResultSet> get_resultset(boost::shared_ptr<Connection> const &conn, const std::string &sql) const;