summaryrefslogtreecommitdiff
path: root/src/base/exception.h
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-08-07 23:24:07 -0700
committerGitHub <noreply@github.com>2018-08-07 23:24:07 -0700
commit047e75b485ad16a729083c210ba4064943d2e7c5 (patch)
treecbd0ac11a061cb6da426e44bd6684f6115fecc88 /src/base/exception.h
parent95e9918607ed879347bb250ecbaa3c5c557d71b4 (diff)
Require Swig 3 (#2283)
Removes some hacks due to Swig 2's incomplete C++11 support and adds checks for version 3 at configuration time as well as in swig.h
Diffstat (limited to 'src/base/exception.h')
-rw-r--r--src/base/exception.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/base/exception.h b/src/base/exception.h
index 983a59572..54f6aa92d 100644
--- a/src/base/exception.h
+++ b/src/base/exception.h
@@ -27,8 +27,6 @@
#include <stdexcept>
#include <string>
-#include "base/tls.h"
-
namespace CVC4 {
class CVC4_PUBLIC Exception : public std::exception {
@@ -163,7 +161,7 @@ private:
char* d_contents;
- static CVC4_THREAD_LOCAL LastExceptionBuffer* s_currentBuffer;
+ static thread_local LastExceptionBuffer* s_currentBuffer;
}; /* class LastExceptionBuffer */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback