fixed pvs-studio warnings
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "UsefulException.hpp"
|
||||
#include <sstream>
|
||||
|
||||
UsefulException_::UsefulException_(std::string _message, std::string _file, std::string _func, int _line_n)
|
||||
UsefulException_::UsefulException_(const std::string& _message, const std::string& _file, const std::string& _func, int _line_n)
|
||||
: message(_message), file(_file), function(_func), line_n(_line_n)
|
||||
{
|
||||
std::stringstream ss;
|
||||
|
||||
Reference in New Issue
Block a user