Skip to content

Commit

Permalink
Pass object by reference
Browse files Browse the repository at this point in the history
Found by cppcheck.
  • Loading branch information
irydacea committed Jul 7, 2015
1 parent 98c910e commit ead94b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/make_enum.hpp
Expand Up @@ -89,7 +89,7 @@ MAKE_ENUM(enumname,
class bad_enum_cast : public std::exception
{
public:
bad_enum_cast(const std::string& enumname, const std::string str)
bad_enum_cast(const std::string& enumname, const std::string& str)
: message("Failed to convert String \"" + str + "\" to type " + enumname)
{}

Expand Down

0 comments on commit ead94b3

Please sign in to comment.