diff options
-rw-r--r-- | src/common.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp index dec40191..3c99e57b 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -15,7 +15,7 @@ #define __attribute__(x) /* no-op */ #endif -#define FMT(ss) (dynamic_cast< ::std::stringstream&>(::std::stringstream() << ss).str()) +#define FMT(ss) (static_cast<::std::ostringstream&&>(::std::ostringstream() << ss).str()) // XXX: Evil hack - Define 'mv$' to be ::std::move #define mv$(x) ::std::move(x) #define box$(...) ::make_unique_ptr(::std::move(__VA_ARGS__)) |