diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-02-07 21:41:03 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-02-07 21:41:03 +0000 |
commit | 4c4cc95eb12403298d93404f225ac04fec16586b (patch) | |
tree | 4d3368132856fbcdc94f5da3adfd4ed0545934e1 /lib/common/Box.h | |
parent | 7e564ddb4c8391a96d52a89e599252c38ef83f1b (diff) |
Allow logging any std::ostringstream expression in
THROW_EXCEPTION_MESSAGE, fixes compile error.
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r-- | lib/common/Box.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Box.h b/lib/common/Box.h index 77f7d1f4..57b97416 100644 --- a/lib/common/Box.h +++ b/lib/common/Box.h @@ -119,8 +119,8 @@ { \ OPTIONAL_DO_BACKTRACE \ BOX_WARNING("Exception thrown: " \ - #type "(" #subtype ") (" message ") at " \ - __FILE__ "(" << __LINE__ << ")") \ + #type "(" #subtype ") (" << message << \ + ") at " __FILE__ "(" << __LINE__ << ")") \ } \ throw type(type::subtype, message); \ } |