fix addToPath
This commit is contained in:
@@ -177,7 +177,7 @@ struct MccMovementPathFile {
|
||||
|
||||
// general purpose method
|
||||
template <std::formattable<char>... ArgTs>
|
||||
void addToPath(std::string_view fmt, ArgTs&... args)
|
||||
void addToPath(std::string_view fmt, ArgTs&&... args)
|
||||
{
|
||||
std::vformat_to(std::back_inserter(_buffer), fmt, std::make_format_args(args...));
|
||||
std::ranges::copy(lineDelim, std::back_inserter(_buffer));
|
||||
|
||||
Reference in New Issue
Block a user