summaryrefslogtreecommitdiff
path: root/src/sub_assert.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-18 10:37:51 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-18 10:38:17 +0100
commita25cc3fda26e2bbc6b1c3786cc7f2ed7141a29f0 (patch)
tree763e292124b43b8c652bb4d34eaae5e14e8236f6 /src/sub_assert.h
parent4f6f03dc72d9cd24f3e4b2d856c5ccb66bda3930 (diff)
Fix Time::add which was broken when adding times with different rates.
Diffstat (limited to 'src/sub_assert.h')
-rw-r--r--src/sub_assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_assert.h b/src/sub_assert.h
index 67c8abe..4c75d70 100644
--- a/src/sub_assert.h
+++ b/src/sub_assert.h
@@ -19,4 +19,4 @@
#include "exceptions.h"
-#define SUB_ASSERT(x) if (!(x)) throw ProgrammingError (__FILE__, __LINE__);
+#define SUB_ASSERT(x) if (!(x)) throw sub::ProgrammingError (__FILE__, __LINE__);