Skip to content

Commit

Permalink
Use const& for std::unary_function Arg parameter
Browse files Browse the repository at this point in the history
Clear TODO item for query_transformation feature (ticket #66)
  • Loading branch information
mloskot committed Feb 27, 2013
1 parent 9fffdf6 commit 9c81db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/query_transformation.h
Expand Up @@ -19,7 +19,7 @@ namespace details
{

// TODO: use std::unary_function<const std::string&, std::string>
class query_transformation_function : public std::unary_function<std::string, std::string>
class query_transformation_function : public std::unary_function<std::string const&, std::string>
{
public:
virtual result_type operator()(argument_type a) const = 0;
Expand Down

0 comments on commit 9c81db2

Please sign in to comment.