summaryrefslogtreecommitdiff
path: root/src/prop/sat_solver_factory.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-03-29 19:38:42 +0000
committerTim King <taking@cs.nyu.edu>2012-03-29 19:38:42 +0000
commitaf9a90a1b3df29f7955d255aff1fd26e9957018d (patch)
tree601dfb10409903d5be3a16a6d0760bc438096d03 /src/prop/sat_solver_factory.cpp
parent6ba22cdd0e38f9811daefd2aee8218b8b8cf9e0e (diff)
Fixes a linking problem with the new SatSolverConstructor on Mac.
Diffstat (limited to 'src/prop/sat_solver_factory.cpp')
-rw-r--r--src/prop/sat_solver_factory.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/prop/sat_solver_factory.cpp b/src/prop/sat_solver_factory.cpp
index fa787451d..e6ae5d1e7 100644
--- a/src/prop/sat_solver_factory.cpp
+++ b/src/prop/sat_solver_factory.cpp
@@ -21,8 +21,11 @@
#include "prop/minisat/minisat.h"
#include "prop/bvminisat/bvminisat.h"
-using namespace CVC4;
-using namespace prop;
+namespace CVC4 {
+namespace prop {
+
+template class SatSolverConstructor<MinisatSatSolver>;
+template class SatSolverConstructor<BVMinisatSatSolver>;
BVSatSolverInterface* SatSolverFactory::createMinisat() {
return new BVMinisatSatSolver();
@@ -45,3 +48,5 @@ void SatSolverFactory::getSolverIds(std::vector<std::string>& solvers) {
SatSolverRegistry::getSolverIds(solvers);
}
+} /* namespace CVC4::prop */
+} /* namespace CVC4 */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback