Skip to content

Commit

Permalink
userPropagator: Compile as C++20.
Browse files Browse the repository at this point in the history
Using std::unordered_map::contains requires C++20.
  • Loading branch information
waywardmonkeys authored and NikolajBjorner committed Aug 5, 2022
1 parent 1d9345c commit 7eb1e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/userPropagator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ find_package(Z3
)

################################################################################
# Z3 C++ API bindings require C++11
# Z3 C++ API bindings require C++11, but this code needs later.
################################################################################
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

message(STATUS "Z3_FOUND: ${Z3_FOUND}")
Expand Down

0 comments on commit 7eb1e6d

Please sign in to comment.