summaryrefslogtreecommitdiff
path: root/src/smt/options_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/options_manager.cpp')
-rw-r--r--src/smt/options_manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/smt/options_manager.cpp b/src/smt/options_manager.cpp
index 3fc58ff05..37541751e 100644
--- a/src/smt/options_manager.cpp
+++ b/src/smt/options_manager.cpp
@@ -71,7 +71,7 @@ void OptionsManager::notifySetOption(const std::string& key)
<< std::endl;
if (key == options::expr::defaultExprDepth__name)
{
- int depth = (*d_options)[options::defaultExprDepth];
+ int depth = d_options->expr.defaultExprDepth;
Debug.getStream() << expr::ExprSetDepth(depth);
Trace.getStream() << expr::ExprSetDepth(depth);
Notice.getStream() << expr::ExprSetDepth(depth);
@@ -82,7 +82,7 @@ void OptionsManager::notifySetOption(const std::string& key)
}
else if (key == options::expr::defaultDagThresh__name)
{
- int dag = (*d_options)[options::defaultDagThresh];
+ int dag = d_options->expr.defaultDagThresh;
Debug.getStream() << expr::ExprDag(dag);
Trace.getStream() << expr::ExprDag(dag);
Notice.getStream() << expr::ExprDag(dag);
@@ -93,12 +93,12 @@ void OptionsManager::notifySetOption(const std::string& key)
}
else if (key == options::smt::dumpModeString__name)
{
- const std::string& value = (*d_options)[options::dumpModeString];
+ const std::string& value = d_options->smt.dumpModeString;
Dump.setDumpFromString(value);
}
else if (key == options::base::printSuccess__name)
{
- bool value = (*d_options)[options::printSuccess];
+ bool value = d_options->base.printSuccess;
Debug.getStream() << Command::printsuccess(value);
Trace.getStream() << Command::printsuccess(value);
Notice.getStream() << Command::printsuccess(value);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback