From 289bf1c96485bf383f0d58e289a7595c1d2a65e0 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Sat, 7 Jun 2025 03:18:36 +0900 Subject: [PATCH] build(exmaple): set -std to c++14 since required for switch in constexpr --- example/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/Makefile b/example/Makefile index 2b158824..114d032e 100644 --- a/example/Makefile +++ b/example/Makefile @@ -3,7 +3,7 @@ CXX := c++ endif ifndef CXXFLAGS -CXXFLAGS := -std=c++11 -Wall -I .. -I../extra -o +CXXFLAGS := -std=c++14 -Wall -I .. -I../extra -o endif SOURCES := $(wildcard *.cc)