minor fix

master
Daniel Kolesa 2015-07-05 21:12:41 +01:00
parent d4939e73c2
commit d2aba4d5b6
1 changed files with 1 additions and 3 deletions

View File

@ -48,9 +48,7 @@ namespace detail {
*buf = '\0';
return ret;
}
}
namespace detail {
/* 0 .. not allowed
* 1 .. floating point
* 2 .. character
@ -141,7 +139,7 @@ namespace detail {
}
struct FormatSpec {
FormatSpec(): p_fmt(nullptr) {}
FormatSpec(): p_nested_escape(false), p_fmt(nullptr) {}
FormatSpec(const char *fmt, bool escape = false):
p_nested_escape(escape), p_fmt(fmt) {}