fixed pvs-studio warnings

This commit is contained in:
2024-05-05 15:06:27 +05:00
parent f9bd8c1184
commit d4d380cc9f
12 changed files with 30 additions and 28 deletions

View File

@@ -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;