about summary refs log tree commit diff homepage
path: root/lib/Solver/Z3Solver.h
diff options
context:
space:
mode:
authorDaniel Schemmel <daniel@schemmel.net>2023-10-29 16:00:02 +0000
committerMartinNowack <2443641+MartinNowack@users.noreply.github.com>2024-01-30 21:40:32 +0000
commit3ca81c2dc3881aec0bbf94646c73a148d706c76d (patch)
tree27852ee64e2148b2225f7d4dfd4e33b244be4cfd /lib/Solver/Z3Solver.h
parentf813c88c8cb868fc9c0be78fbf92a94d72ac02b0 (diff)
downloadklee-3ca81c2dc3881aec0bbf94646c73a148d706c76d.tar.gz
Change `GetConstraintLog` to work with `std::string`s instead of `char*`s
Diffstat (limited to 'lib/Solver/Z3Solver.h')
-rw-r--r--lib/Solver/Z3Solver.h2
1 files changed, 1 insertions, 1 deletions
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