summaryrefslogtreecommitdiff
path: root/test/unit/parser
diff options
context:
space:
mode:
authorGereon Kremer <nafur42@gmail.com>2021-05-29 09:09:34 +0200
committerGitHub <noreply@github.com>2021-05-29 07:09:34 +0000
commit0133367f9ed242aa01e42867364c7be74ffe5618 (patch)
tree993330d559b7d86f0b891792cde07dc1a4c8bc8c /test/unit/parser
parentf62b46414cc47762857a4e3241318733ca8c973d (diff)
Remove `Options::set()` method (#6556)
This PR gets rid of the Options::set() method, replacing it by direct access to the options data. This method was only used internally and did nothing except for resolving the options data from the option tag type via template specializations (via ref()), which is no longer necessary.
Diffstat (limited to 'test/unit/parser')
-rw-r--r--test/unit/parser/parser_black.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/parser/parser_black.cpp b/test/unit/parser/parser_black.cpp
index 78a67f6d0..10bba5e64 100644
--- a/test/unit/parser/parser_black.cpp
+++ b/test/unit/parser/parser_black.cpp
@@ -44,7 +44,7 @@ class TestParserBlackParser : public TestInternal
void SetUp() override
{
TestInternal::SetUp();
- d_options.set(options::parseOnly, true);
+ d_options.base.parseOnly = true;
d_symman.reset(nullptr);
d_solver.reset(new cvc5::api::Solver(&d_options));
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback