diff options
author | Gereon Kremer <nafur42@gmail.com> | 2021-05-29 09:09:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-29 07:09:34 +0000 |
commit | 0133367f9ed242aa01e42867364c7be74ffe5618 (patch) | |
tree | 993330d559b7d86f0b891792cde07dc1a4c8bc8c /test/unit/main | |
parent | f62b46414cc47762857a4e3241318733ca8c973d (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/main')
-rw-r--r-- | test/unit/main/interactive_shell_black.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/main/interactive_shell_black.cpp b/test/unit/main/interactive_shell_black.cpp index 8af29a8e4..9a1a46da4 100644 --- a/test/unit/main/interactive_shell_black.cpp +++ b/test/unit/main/interactive_shell_black.cpp @@ -37,9 +37,9 @@ class TestMainBlackInteractiveShell : public TestInternal TestInternal::SetUp(); d_sin.reset(new std::stringstream); d_sout.reset(new std::stringstream); - d_options.set(options::in, d_sin.get()); - d_options.set(options::out, d_sout.get()); - d_options.set(options::inputLanguage, language::input::LANG_CVC); + d_options.base.in = d_sin.get(); + d_options.base.out = d_sout.get(); + d_options.base.inputLanguage = language::input::LANG_CVC; d_solver.reset(new cvc5::api::Solver(&d_options)); d_symman.reset(new SymbolManager(d_solver.get())); } |