Skip to content

Commit

Permalink
update standard to C++17 per C++ build support
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Nov 3, 2024
1 parent d99cdd7 commit 944d4ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ licenses(["notice"])
COPTS = [
"-pedantic",
"-pedantic-errors",
"-std=c++14",
"-std=c++17",
"-Wall",
"-Wconversion",
"-Wextra",
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if (BENCHMARK_BUILD_32_BITS)
add_required_cxx_compiler_flag(-m32)
endif()

set(BENCHMARK_CXX_STANDARD 14)
set(BENCHMARK_CXX_STANDARD 17)

set(CMAKE_CXX_STANDARD ${BENCHMARK_CXX_STANDARD})
set(CMAKE_CXX_STANDARD_REQUIRED YES)
Expand Down
2 changes: 1 addition & 1 deletion test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ platform(
TEST_COPTS = [
"-pedantic",
"-pedantic-errors",
"-std=c++14",
"-std=c++17",
"-Wall",
"-Wconversion",
"-Wextra",
Expand Down

0 comments on commit 944d4ac

Please sign in to comment.