summaryrefslogtreecommitdiff
path: root/example/operators.cc
diff options
context:
space:
mode:
authorWolfgang Draxinger <dw@optores.de>2019-07-04 20:06:23 +0200
committerWolfgang Draxinger <dw@optores.de>2019-07-04 20:06:23 +0200
commit47d2c53cbdb8c03a793d54324eb0b0a127c73a4a (patch)
tree65b2ba97627f9d2c96581909f2466fe08e3658be /example/operators.cc
parentac1e78efa910cac81d104a92ec971d984dcd26a1 (diff)
downloaddwu-47d2c53cbdb8c03a793d54324eb0b0a127c73a4a.tar.gz
dwu-47d2c53cbdb8c03a793d54324eb0b0a127c73a4a.tar.bz2
compile examples -Wall -Werror and remove std::move to allow copy elision
Diffstat (limited to 'example/operators.cc')
-rw-r--r--example/operators.cc3
1 files changed, 2 insertions, 1 deletions
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 <dwu/operators>
+
#include <iostream>
#include <vector>
#include <list>
-#include <dwu/operators>
template<class S, class T>
static void dump(S const &s, T const &v)