From 2bf35340755a0be14ea175f9491a429f1c3f88e7 Mon Sep 17 00:00:00 2001 From: Max Van den Eynde Date: Wed, 12 Mar 2025 12:22:18 +0100 Subject: [PATCH] Compilation example was wrong. Fixed standard (#1945) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c77f9b6c..b30e57cf 100644 --- a/README.md +++ b/README.md @@ -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 ```