3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00

fix build warning+error in c++ example

This commit is contained in:
Nuno Lopes 2022-06-17 16:43:34 +01:00
parent d9fcfdab34
commit fcbbf7ba76

View file

@ -4,6 +4,7 @@ Copyright (c) 2015 Microsoft Corporation
--*/
#include <iostream>
#include<vector>
#include"z3++.h"
@ -737,7 +738,7 @@ void tactic_example8() {
try {
t(g);
}
catch (exception) {
catch (exception&) {
std::cout << "tactic failed...\n";
}
std::cout << "trying again...\n";