From d2aba4d5b6fdf3348d385852885df8c72919b759 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 5 Jul 2015 21:12:41 +0100 Subject: [PATCH] minor fix --- octa/format.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/octa/format.hh b/octa/format.hh index 4c6346e..3e563b8 100644 --- a/octa/format.hh +++ b/octa/format.hh @@ -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) {}