Skip to content
Snippets Groups Projects
Commit ee3aef12 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

tidy: pass by reference

parent 504cef08
No related branches found
No related tags found
1 merge request!224Tidy fixes following the merger of new normalization
......@@ -119,7 +119,7 @@ std::string type_util < std::string >::normalize ( std::string arg ) {
return arg;
}
 
std::unique_ptr < type_details_base > type_util < std::string >::type ( std::string ) {
std::unique_ptr < type_details_base > type_util < std::string >::type ( const std::string & ) {
return std::make_unique < type_details_type > ( "std::string" );
}
 
......
......@@ -80,7 +80,7 @@ struct type_util < std::string > {
 
static std::string normalize ( std::string arg );
 
static std::unique_ptr < type_details_base > type ( std::string arg );
static std::unique_ptr < type_details_base > type ( const std::string & arg );
};
 
template < >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment