diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2015-10-13 19:59:22 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2015-10-13 19:59:22 -0400 |
commit | 21ecec6988c6f4b145985ea0ac506380fca6c3d2 (patch) | |
tree | 647c86a1935c41680485dbb1f6c1de693a7e6239 /src/options/options.h | |
parent | 8d219fd7bacea834b70340a44e420c2639ac6285 (diff) |
remove options infrastructure code which depended on undefined behavior
appears to be source of crashes on mac
Diffstat (limited to 'src/options/options.h')
-rw-r--r-- | src/options/options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/options/options.h b/src/options/options.h index 092fbe507..9656007f4 100644 --- a/src/options/options.h +++ b/src/options/options.h @@ -60,6 +60,11 @@ class CVC4_PUBLIC Options { public: + /** Return true if current Options are null */ + static inline bool isCurrentNull() { + return s_current == NULL; + } + /** Get the current Options in effect */ static inline Options& current() { return *s_current; |