summaryrefslogtreecommitdiff
path: root/src/smt/optimization_solver.h
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/smt/optimization_solver.h
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/smt/optimization_solver.h')
-rw-r--r--src/smt/optimization_solver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smt/optimization_solver.h b/src/smt/optimization_solver.h
index f69bd1502..6117b9df5 100644
--- a/src/smt/optimization_solver.h
+++ b/src/smt/optimization_solver.h
@@ -33,7 +33,7 @@ namespace smt {
*
* Represents whether an objective should be minimized or maximized
*/
-enum CVC4_PUBLIC ObjectiveType
+enum ObjectiveType
{
OBJECTIVE_MINIMIZE,
OBJECTIVE_MAXIMIZE,
@@ -46,7 +46,7 @@ enum CVC4_PUBLIC ObjectiveType
* Represents the result of a checkopt query
* (unimplemented) OPT_OPTIMAL: if value was found
*/
-enum CVC4_PUBLIC OptResult
+enum OptResult
{
// the original set of assertions has result UNKNOWN
OPT_UNKNOWN,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback