base: Fix VectorPrint initialisation

This patch changes how the initialisation of the VectorPrint struct is
done so that gcc 4.4 is happy again.
This commit is contained in:
Andreas Hansson 2013-08-20 11:21:26 -04:00
parent b63631536d
commit c57c452143

View file

@ -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) {