pass string by const ref
This commit is contained in:
parent
6bbbe155fe
commit
3864fada72
2 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ public:
|
|||
/*!
|
||||
* @param column Set the field rendering of this layer is grouped by.
|
||||
*/
|
||||
void set_group_by(std::string column);
|
||||
void set_group_by(std::string const& column);
|
||||
|
||||
/*!
|
||||
* @return The field rendering of this layer is grouped by.
|
||||
|
|
|
@ -236,7 +236,7 @@ bool layer::cache_features() const
|
|||
return cache_features_;
|
||||
}
|
||||
|
||||
void layer::set_group_by(std::string column)
|
||||
void layer::set_group_by(std::string const& column)
|
||||
{
|
||||
group_by_ = column;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue