Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2008, 3:35:50 PM (16 years ago)
Author:
landauf
Message:

moved Debug.h, OutputHandler and OutputBuffer to util, to make COUT(x) available everywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/util/Convert.h

    r1505 r1586  
    4141
    4242#include "Math.h"
     43#include "Debug.h"
    4344#include "SubString.h"
    4445#include "MultiTypeMath.h"
     
    7475    enum { specialized = false };
    7576    static bool convert(ToType* output, const FromType& input)
    76     { return false; }
     77    {
     78        COUT(2) << "Warning: Couldn't convert a value." << std::endl;
     79        return false;
     80    }
    7781};
    7882
     
    139143    static bool convert(ToType* output, const FromType& input)
    140144    {
     145        COUT(2) << "Warning: Couldn't convert a value." << std::endl;
    141146        return false;
    142147    }
Note: See TracChangeset for help on using the changeset viewer.