From d6d33a99c6e73a6c936ef649e336661b1a963d3a Mon Sep 17 00:00:00 2001 From: gawain Date: Sun, 3 Mar 2019 21:09:50 +0100 Subject: [PATCH] Changes to fix CI as g++-4.4 BUILD was broken. --- include/fmt/format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 3b9f097d..0af93ba6 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2815,11 +2815,11 @@ template class basic_writer { struct float_spec_handler { char type; - bool upper{false}; - bool fixed{false}; - bool as_percentage{false}; + bool upper; + bool fixed; + bool as_percentage; - explicit float_spec_handler(char t) : type(t) {} + explicit float_spec_handler(char t) : type(t), upper(false), fixed(false), as_percentage(false) {} void on_general() { if (type == 'G') upper = true;