Skip to content

Commit

Permalink
Update to C++20 (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Dec 10, 2023
1 parent f7bfe7b commit 1f71c7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ add_compile_options(-Wall
-Woverloaded-virtual
)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Coverage Report](https://gitlab.com/offa/plug/badges/master/coverage.svg)](https://gitlab.com/offa/plug/commits/master)
[![GitHub release](https://img.shields.io/github/release/offa/plug.svg)](https://github.com/offa/plug/releases)
[![License](https://img.shields.io/badge/license-GPLv3-yellow.svg)](LICENSE)
[![C++](https://img.shields.io/badge/c++-17-green.svg)]()
[![C++](https://img.shields.io/badge/c++-20-green.svg)]()

Software for Fender Mustang Amps. This is a fork of ***piorekf's Plug***.

Expand Down
2 changes: 1 addition & 1 deletion script/ci_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ apt-get install -y --no-install-recommends \
git clone --depth=1 --branch=v1.14.0 https://github.com/google/googletest.git
mkdir googletest/build
cd googletest/build
cmake -DCMAKE_CXX_STANDARD=17 ..
cmake -DCMAKE_CXX_STANDARD=20 ..
make -j install

0 comments on commit 1f71c7e

Please sign in to comment.