Fix two types of Cppcheck warnings
- Use
std::string
resize(n)
instead ofsubstr(0, n)
- Add many
explicit
s for constructors with a single non-scalar argument
Edited by Christoph Grüninger
std::string
resize(n)
instead of substr(0, n)
explicit
s for constructors with a single non-scalar argument