diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2021-04-02 19:47:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 17:47:43 +0000 |
commit | 2506e17ca86c42b7590f65326b70a69b0efdb0bd (patch) | |
tree | cf1686ebfa22300f03f60b0e80a9a8fdb6ddd33c /src/smt/env.cpp | |
parent | da3eff9ba6c632e290c9af990dc5750f65d78820 (diff) |
Minor refactoring (#6273)
This PR does some minor refactorings in preparation for the new statistics: some renamings, removal of now obsolete code and usage of references instead of pointers.
Diffstat (limited to 'src/smt/env.cpp')
-rw-r--r-- | src/smt/env.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smt/env.cpp b/src/smt/env.cpp index fc19299d4..e88710628 100644 --- a/src/smt/env.cpp +++ b/src/smt/env.cpp @@ -82,9 +82,9 @@ DumpManager* Env::getDumpManager() { return d_dumpManager.get(); } const LogicInfo& Env::getLogicInfo() const { return d_logic; } -StatisticsRegistry* Env::getStatisticsRegistry() +StatisticsRegistry& Env::getStatisticsRegistry() { - return d_statisticsRegistry.get(); + return *d_statisticsRegistry; } const Options& Env::getOptions() const { return d_options; } |