From c57c452143695f3e8e8ed2d311e4766a1c16ccc7 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 20 Aug 2013 11:21:26 -0400 Subject: base: Fix VectorPrint initialisation This patch changes how the initialisation of the VectorPrint struct is done so that gcc 4.4 is happy again. --- src/base/stats/text.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 3b06dc121..25b8cb2e7 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -249,7 +249,7 @@ struct VectorPrint int precision; VResult vec; Result total; - bool forceSubnames = false; + bool forceSubnames; void operator()(ostream &stream) const; }; @@ -513,6 +513,7 @@ Text::visit(const VectorInfo &info) print.precision = info.precision; print.vec = info.result(); print.total = info.total(); + print.forceSubnames = false; if (!info.subnames.empty()) { for (off_type i = 0; i < size; ++i) { -- cgit v1.2.3