From 3ca81c2dc3881aec0bbf94646c73a148d706c76d Mon Sep 17 00:00:00 2001 From: Daniel Schemmel Date: Sun, 29 Oct 2023 16:00:02 +0000 Subject: Change `GetConstraintLog` to work with `std::string`s instead of `char*`s --- lib/Solver/Z3Solver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Solver/Z3Solver.h') diff --git a/lib/Solver/Z3Solver.h b/lib/Solver/Z3Solver.h index 9688ccff..38b3e1bf 100644 --- a/lib/Solver/Z3Solver.h +++ b/lib/Solver/Z3Solver.h @@ -22,7 +22,7 @@ public: /// Get the query in SMT-LIBv2 format. /// \return A C-style string. The caller is responsible for freeing this. - virtual char *getConstraintLog(const Query &); + std::string getConstraintLog(const Query &) override; /// setCoreSolverTimeout - Set constraint solver timeout delay to the given /// value; 0 -- cgit 1.4.1