mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 06:16:55 -04:00
refactor(metadata_v2): emplace char const*
into string vector
This commit is contained in:
parent
cdbf316843
commit
7eecd6ab6c
@ -1431,7 +1431,7 @@ void metadata_<LoggerPolicy>::dump(
|
||||
std::vector<std::string> options;
|
||||
parse_metadata_options(meta_, [&](auto const& name, bool value) {
|
||||
if (value) {
|
||||
options.push_back(name);
|
||||
options.emplace_back(name);
|
||||
}
|
||||
});
|
||||
os << "options: " << boost::join(options, "\n ") << "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user