diff --git a/format.h b/format.h index d32ea51b..a3088ab5 100644 --- a/format.h +++ b/format.h @@ -1123,7 +1123,7 @@ class BasicFormatter { } // Constructs a formatter from a proxy object. - BasicFormatter(const Proxy &p) : BasicFormatter(*p.writer, p.format) {} + BasicFormatter(const Proxy &p) : writer_(p.writer), format_(p.format) {} operator Proxy() { const Char *format = format_;