Merge pull request #19717 from danbey:bad_value_param_should_be_passed_by_reference

pull/19722/head^2
Alexander Alekhin 4 years ago
commit 68fae94cbb
  1. 2
      modules/core/src/system.cpp

@ -1938,7 +1938,7 @@ class ParseError
{
std::string bad_value;
public:
ParseError(const std::string bad_value_) :bad_value(bad_value_) {}
ParseError(const std::string &bad_value_) :bad_value(bad_value_) {}
std::string toString(const std::string &param) const
{
std::ostringstream out;

Loading…
Cancel
Save