Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 10, 2013, 11:29:44 AM (11 years ago)
Author:
landauf
Message:

some refactoring in OutputManager - for unittests it is sometimes necessary to create a new instance of OutputManager (or a mock), hence we should avoid storing dead references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/testing/src/libraries/util/output/OutputDefinitions.h

    r9535 r9540  
    4848*/
    4949#define REGISTER_OUTPUT_CONTEXT(name) \
    50     const OutputContextContainer& name() { static const OutputContextContainer& context = registerContext(#name); return context; }
     50    const OutputContextContainer& name() { static OutputContextContainer context = registerContext(#name); return context; }
    5151
    5252/**
Note: See TracChangeset for help on using the changeset viewer.