aboutsummaryrefslogtreecommitdiffstats
path: root/tuplr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tuplr.hpp')
-rw-r--r--tuplr.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tuplr.hpp b/tuplr.hpp
index 081428d..efcba1f 100644
--- a/tuplr.hpp
+++ b/tuplr.hpp
@@ -28,6 +28,7 @@
#include <boost/format.hpp>
#define FOREACH(IT, i, c) for (IT i = (c).begin(); i != (c).end(); ++i)
+#define THROW_IF(cond, error, ...) { if (cond) throw Error(error, __VA_ARGS__); }
using namespace std;
using boost::format;