Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2011, 6:28:57 PM (13 years ago)
Author:
landauf
Message:

small changes regarding context functions and orxout()

File:
1 edited

Legend:

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

    r8777 r8779  
    3535namespace orxonox
    3636{
    37 using namespace test;
    3837namespace test
    3938{
     39    // Just for convenience
     40    using std::endl;
    4041    using namespace level;
    4142
    42     inline OutputStream& orxout(OutputLevel level = level::debug_output, OutputContextFunction context = context::undefined)
     43    inline OutputStream& orxout(OutputLevel level = level::debug_output, OutputContext context = context::undefined())
    4344    {
    4445        static OutputStream stream;
     
    4647        return stream;
    4748    }
     49
     50    inline OutputStream& orxout(OutputLevel level, OutputContextFunction context)
     51    {
     52        return orxout(level, context());
     53    }
    4854}
    4955}
Note: See TracChangeset for help on using the changeset viewer.