Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
ci:
uses: rigtorp/.github/.github/workflows/cpp-ci.yml@master
with:
cxx-standards: '["14", "17", "20"]'
cxx-standards: '["20"]'
run-sanitizers: true
enable-windows: true
enable-macos: true
Expand Down
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ project(HashMap
# -----------------------------------------------------------------------------
add_library(HashMap INTERFACE)
add_library(HashMap::HashMap ALIAS HashMap)
target_compile_features(HashMap INTERFACE cxx_std_14)
target_compile_features(HashMap INTERFACE cxx_std_20)
target_sources(HashMap INTERFACE
FILE_SET HEADERS
BASE_DIRS include
Expand Down Expand Up @@ -44,7 +44,6 @@ if(PROJECT_IS_TOP_LEVEL AND BUILD_TESTING)

if(NOT WIN32)
hashmap_executable(HashMapBenchmark src/HashMapBenchmark.cpp)
target_compile_features(HashMapBenchmark PRIVATE cxx_std_17)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|AMD64|amd64)$")
target_compile_options(HashMapBenchmark PRIVATE -msse4.2)
endif()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The rest of the member functions are implemented as for

## Build and install

The header-only `HashMap::HashMap` CMake target requires C++14. Configure with
The header-only `HashMap::HashMap` CMake target requires C++20. Configure with
CMake 3.24 or newer:

```sh
Expand Down
Loading