Changeset 2603


Ignore:
Timestamp:
07/02/2010 21:41:03 (2 years ago)
Author:
chris
Message:

Allow logging any std::ostringstream expression in
THROW_EXCEPTION_MESSAGE, fixes compile error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/common/Box.h

    r2544 r2603  
    120120                        OPTIONAL_DO_BACKTRACE \ 
    121121                        BOX_WARNING("Exception thrown: " \ 
    122                                 #type "(" #subtype ") (" message ") at " \ 
    123                                 __FILE__ "(" << __LINE__ << ")") \ 
     122                                #type "(" #subtype ") (" << message << \ 
     123                                ") at " __FILE__ "(" << __LINE__ << ")") \ 
    124124                } \ 
    125125                throw type(type::subtype, message); \ 
Note: See TracChangeset for help on using the changeset viewer.