use format instead of concat

master
Daniel Kolesa 2017-02-20 18:43:00 +01:00
parent fb76794242
commit fd5b4e6749
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
#include <ostd/types.hh>
#include <ostd/vector.hh>
#include <ostd/string.hh>
#include <ostd/format.hh>
#include <ostd/filesystem.hh>
#include <ostd/io.hh>
#include <ostd/platform.hh>
@ -409,7 +410,7 @@ struct ObState: cs_state {
sourcev.push();
auto dsv = ostd::appender_range<std::string>{};
ostd::concat(dsv, subdeps);
ostd::format(dsv, "%(%s %)", subdeps);
sourcesv.set_str(std::move(dsv.get()));
sourcesv.push();
}