blantant test code removal well this is embarassing, VS didn't recompile it, so I didn't notice the mistake
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ namespace fmt{
|
||||
|
||||
struct empty_t{};
|
||||
|
||||
//static const string placeholder = "???";
|
||||
extern const string placeholder;
|
||||
|
||||
// write `fmt` from `pos` to the first occurence of `fmt::placeholder` to
|
||||
// the stream `os`. Then write `arg` to to the stream. If there's no
|
||||
@@ -24,7 +24,7 @@ namespace fmt{
|
||||
template<typename T>
|
||||
empty_t write(const string &fmt, ostream &os, string::size_type &pos, T &&arg)
|
||||
{
|
||||
string::size_type ins = fmt.find(/*placeholder*/"???", pos);
|
||||
string::size_type ins = fmt.find(placeholder, pos);
|
||||
|
||||
if (ins == string::npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user