We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d647071 commit 1a373e4Copy full SHA for 1a373e4
libpharos/path.hpp
@@ -1,4 +1,4 @@
1
-// Copyright 2018-2021 Carnegie Mellon University. See LICENSE file for terms.
+// Copyright 2018-2024 Carnegie Mellon University. See LICENSE file for terms.
2
#ifndef Pharos_Path_H
3
#define Pharos_Path_H
4
@@ -295,8 +295,9 @@ class PathFinder : public Z3PathAnalyzer {
295
};
296
297
struct SolverDeleter {
298
- bool owned = true;
+ bool owned;
299
void operator()(PharosZ3Solver *s) const { if (owned) delete s; }
300
+ explicit SolverDeleter(bool owned_ = true) : owned_{owned_} {}
301
302
303
// We will need Z3 for this analysis
0 commit comments