Browse Source

Util: Add newline to string line formatting function

master
Riyyi 2 years ago
parent
commit
bcea91a2c0
  1. 1
      src/util/format/format.h

1
src/util/format/format.h

@ -136,6 +136,7 @@ void strln(std::string& fill, std::string_view format, const Parameters&... para
std::stringstream stream; std::stringstream stream;
VariadicParameters variadicParameters { parameters... }; VariadicParameters variadicParameters { parameters... };
variadicFormat(stream, format, variadicParameters); variadicFormat(stream, format, variadicParameters);
stream << '\n';
fill = stream.str(); fill = stream.str();
} }

Loading…
Cancel
Save