Changeset 11400 for trunk


Ignore:
Timestamp:
07/14/11 08:59:29 (13 years ago)
Author:
tbretz
Message:
Do not output = if value is empty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Configuration.cc

    r11387 r11400  
    759759            str << " unknown[" << v.value().type().name() << "]";
    760760
    761         cout << setw(maxlen) << m->first << " = " << VarAsStr(v);
    762         cout << "   #" << str.str();
     761        const string var = VarAsStr(v);
     762        cout << setw(maxlen) << m->first;
     763        if (!var.empty())
     764            cout << " = ";
     765        cout << val << "   #" << str.str();
    763766
    764767        if (v.defaulted())
Note: See TracChangeset for help on using the changeset viewer.