Skip to content

cppcheck: Passing the result of c_str() to a function that takes std::string as argument

Andrii Verbytskyi requested to merge averbyts/athena:cppchecktrigger1 into 22.0

cppcheck: Passing the result of c_str() to a function that takes std::string as argument is slow and redundant.

Tag @sroe

Merge request reports