Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2011, 11:06:36 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT in util with orxout.
Used user_error for Exceptions and Assertions because I assume they're only used in very critical situations. Same with Signal Handler.
Clipboard shows user_errors because it's used only with user interaction.
Other output is mostly internal.

File:
1 edited

Legend:

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

    r8788 r8804  
    151151        ORX_FORCEINLINE static bool convert(ToType* /*output*/, const FromType& /*input*/)
    152152        {
    153             COUT(2) << "Could not convert value of type " << typeid(FromType).name()
    154                     << " to type " << typeid(ToType).name() << std::endl;
     153            orxout(internal_warning) << "Could not convert value of type " << typeid(FromType).name()
     154                                     << " to type " << typeid(ToType).name() << endl;
    155155            return false;
    156156        }
Note: See TracChangeset for help on using the changeset viewer.