summaryrefslogtreecommitdiff
path: root/src/prop
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-03-16 10:56:01 -0700
committerGitHub <noreply@github.com>2021-03-16 10:56:01 -0700
commitd6890791897ddebf1212d3e3147bf7aeb2415b27 (patch)
tree51c69ba48a7550b6a7660e2488b4b39cbedba539 /src/prop
parent0d3ea6f2dcaf80d386c7765ee8a708c18e3ed574 (diff)
cmake: Generate cvc4_export.h and set visibility to hidden. (#6139)
The build system (cmake) will automatically generate an export header cvc4_export.h, which makes sure that the correct export features are defined depending on the compiler and target platform. The macro CVC4_EXPORT replaces CVC4_PUBLIC and its usage is reduced by 2/3. Co-authored-by: Gereon Kremer <nafur42@gmail.com>
Diffstat (limited to 'src/prop')
-rw-r--r--src/prop/minisat/core/Solver.h2
-rw-r--r--src/prop/minisat/simp/SimpSolver.h2
-rw-r--r--src/prop/prop_engine.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/prop/minisat/core/Solver.h b/src/prop/minisat/core/Solver.h
index b3ed72a4c..df2f9b967 100644
--- a/src/prop/minisat/core/Solver.h
+++ b/src/prop/minisat/core/Solver.h
@@ -140,7 +140,7 @@ public:
CVC4::context::UserContext* userContext,
ProofNodeManager* pnm,
bool enableIncremental = false);
- CVC4_PUBLIC virtual ~Solver();
+ virtual ~Solver();
// Problem specification:
//
diff --git a/src/prop/minisat/simp/SimpSolver.h b/src/prop/minisat/simp/SimpSolver.h
index 5e348c1e7..f553746e6 100644
--- a/src/prop/minisat/simp/SimpSolver.h
+++ b/src/prop/minisat/simp/SimpSolver.h
@@ -47,7 +47,7 @@ class SimpSolver : public Solver {
CVC4::context::UserContext* userContext,
ProofNodeManager* pnm,
bool enableIncremental = false);
- CVC4_PUBLIC ~SimpSolver();
+ ~SimpSolver();
// Problem specification:
//
diff --git a/src/prop/prop_engine.h b/src/prop/prop_engine.h
index decf83634..d0810324a 100644
--- a/src/prop/prop_engine.h
+++ b/src/prop/prop_engine.h
@@ -63,7 +63,7 @@ class PropEngine
/**
* Destructor.
*/
- CVC4_PUBLIC ~PropEngine();
+ ~PropEngine();
/**
* Finish initialize. Call this after construction just before we are
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback