From 47d2c53cbdb8c03a793d54324eb0b0a127c73a4a Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Thu, 4 Jul 2019 20:06:23 +0200 Subject: compile examples -Wall -Werror and remove std::move to allow copy elision --- example/Makefile | 2 +- example/operators.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'example') diff --git a/example/Makefile b/example/Makefile index f26d3df..c96a553 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,4 +1,4 @@ -CXXFLAGS+=-I../include +CXXFLAGS+=-Wall -Werror -I../include .PHONY: all diff --git a/example/operators.cc b/example/operators.cc index cfcd529..d225303 100644 --- a/example/operators.cc +++ b/example/operators.cc @@ -1,9 +1,10 @@ +#include + #include #include #include -#include template static void dump(S const &s, T const &v) -- cgit v1.2.3