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:
parent
b63631536d
commit
c57c452143
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue