summaryrefslogtreecommitdiff
path: root/impl/Complete.hpp
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-09-20 15:19:49 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-09-20 15:19:49 +1000
commitbb9a899b7c45b830c6b70e2811130a41ebb31ee5 (patch)
tree070ca77682bf7e3b72a94e78fbe0fcf337bdd98a /impl/Complete.hpp
parent3d206f03985b50beacae843d880bccdc91a9f424 (diff)
Remove exceptions and C++11 features for LLVM.
Diffstat (limited to 'impl/Complete.hpp')
-rw-r--r--impl/Complete.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/impl/Complete.hpp b/impl/Complete.hpp
index 81ced52..5219c9e 100644
--- a/impl/Complete.hpp
+++ b/impl/Complete.hpp
@@ -16,7 +16,8 @@ struct Complete {
Complete(const T& value, const bool& infinity)
: _value(value), _infinity(infinity) {
if (value == 0 && infinity == true) {
- throw "Zero infinity? Die die die!";
+ std::cout << "throw exception" << *(char*)NULL;
+ //throw "Zero infinity? Die die die!";
}
}
Complete(const Complete& other)