Compilation example was wrong. Fixed standard (#1945)

This commit is contained in:
Max Van den Eynde 2025-03-12 12:22:18 +01:00 committed by GitHub
parent 5a4c459548
commit 2bf3534075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,7 +190,7 @@ be under the build directory you created.
```bash
# Example on linux after running the build steps above. Assumes the
# `benchmark` and `build` directories are under the current directory.
$ g++ mybenchmark.cc -std=c++11 -isystem benchmark/include \
$ g++ mybenchmark.cc -std=c++14 -isystem benchmark/include \
-Lbenchmark/build/src -lbenchmark -lpthread -o mybenchmark
```