summaryrefslogtreecommitdiff
path: root/src/prop/bvminisat/mtl/XAlloc.h
diff options
context:
space:
mode:
authorTim King <taking@google.com>2015-10-23 16:57:48 -0700
committerTim King <taking@google.com>2015-10-26 09:56:58 -0700
commit918b0fd9ecde048773d245eac66eba9b4306d9d2 (patch)
tree218d4b5aadbebd440185dc00e4f6589287326b19 /src/prop/bvminisat/mtl/XAlloc.h
parentaf86e5a8dc7a64fb5f7b4ca7bd3b2bedf5e8fe32 (diff)
This fixes a one definition rule violation for reduceDB_lt in Solver.cc in minisat and bvminisat. This also moves BVMinisat into CVC4. This also wrapped code in cpp files into the namespaces instead of having using namespace *.
Diffstat (limited to 'src/prop/bvminisat/mtl/XAlloc.h')
-rw-r--r--src/prop/bvminisat/mtl/XAlloc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/prop/bvminisat/mtl/XAlloc.h b/src/prop/bvminisat/mtl/XAlloc.h
index 7b89d1803..9e469a6fb 100644
--- a/src/prop/bvminisat/mtl/XAlloc.h
+++ b/src/prop/bvminisat/mtl/XAlloc.h
@@ -24,6 +24,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
#include <errno.h>
#include <stdlib.h>
+namespace CVC4 {
namespace BVMinisat {
//=================================================================================================
@@ -40,6 +41,8 @@ static inline void* xrealloc(void *ptr, size_t size)
}
//=================================================================================================
-}
+} /* CVC4::BVMinisat namespace */
+} /* CVC4 namespace */
+
#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback