diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2010-02-02 02:10:28 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2010-02-02 02:10:28 +0000 |
commit | 2b02b131e49948180100c8ef86655cb204f529b1 (patch) | |
tree | cb4e2778ae26d45c4ffbe6aaab07146f1ad0e2ed /src/context | |
parent | 21dec26be1ecc86a0c73df26e2397b7674df50a7 (diff) |
Fixed compile errors
Diffstat (limited to 'src/context')
-rw-r--r-- | src/context/context.cpp | 1 | ||||
-rw-r--r-- | src/context/context.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/context/context.cpp b/src/context/context.cpp index 8083f2cc7..476f6d04b 100644 --- a/src/context/context.cpp +++ b/src/context/context.cpp @@ -15,6 +15,7 @@ #include "context/context.h" #include "util/Assert.h" +#include <cstdlib> namespace CVC4 { diff --git a/src/context/context.h b/src/context/context.h index fd145cbff..c59955f8d 100644 --- a/src/context/context.h +++ b/src/context/context.h @@ -381,7 +381,7 @@ public: * new operator. To free this memory, instead of "delete p", use * "p->deleteSelf()". */ - static void* operator new(size_t size, bool) { ::operator new(size); } + static void* operator new(size_t size, bool) { return ::operator new(size); } /** * Corresponding placement delete. Note that this is provided for the |