Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2011, 11:42:55 PM (13 years ago)
Author:
landauf
Message:

Removed debugLevel_ from Shell, using correct variable inherited from BaseWriter as config value.
Fixed OutputListener::setLevelMax() which ignored the new output level "message".
Fixed using a boolean called "verbose" instead of the output level with the same name in Loader.
Preventing further problems of this kind by defining OutputLevel as an enum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/output/BaseWriter.cc

    r8799 r8808  
    6565    void BaseWriter::changedConfigurableLevels()
    6666    {
    67         OutputLevel max_level = std::max(this->configurableMaxLevel_, this->configurableContextsMaxLevel_);
    68         OutputListener::setLevelMax(max_level);
     67        int max_level = std::max(this->configurableMaxLevel_, this->configurableContextsMaxLevel_);
     68        OutputListener::setLevelMax(static_cast<OutputLevel>(max_level));
    6969    }
    7070
Note: See TracChangeset for help on using the changeset viewer.