summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp
index b140e506..7334be13 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -14,8 +14,8 @@
#define FMT(ss) (dynamic_cast< ::std::stringstream&>(::std::stringstream() << ss).str())
// XXX: Evil hack - Define 'mv$' to be ::std::move
#define mv$(x) ::std::move(x)
-#define box$(x) ::make_unique_ptr(::std::move(x))
-#define rc_new$(x) ::make_shared_ptr(::std::move(x))
+#define box$(x...) ::make_unique_ptr(::std::move(x))
+#define rc_new$(x...) ::make_shared_ptr(::std::move(x))
#include "include/debug.hpp"
#include "include/rustic.hpp" // slice and option