Changed string to reference
This commit is contained in:
parent
3914288b05
commit
7fa9f0430a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace pvpgn
|
|||
class InitError :public std::runtime_error
|
||||
{
|
||||
public:
|
||||
explicit InitError(const std::string str)
|
||||
explicit InitError(const std::string& str)
|
||||
:std::runtime_error(str) {}
|
||||
~InitError() throw() {}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue