commit | 76e2f6a511706d375548f645d7af1ecf9fbdfe04 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jan 31 14:05:22 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jan 31 14:10:09 2017 -0500 |
tree | b6364eb20abe6f8d123f16d8c08e7a8f2e3edeb7 | |
parent | fa51da745c5be2ac85265af43333cf7af1047cb8 [diff] [blame] |
events: Use forward rather than move Fix up a universal reference using move. Change-Id: I443e4d18a9009a7a1394487309ec3331be5c3ee9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/events.hpp b/events.hpp index 45122a0..78b63ab 100644 --- a/events.hpp +++ b/events.hpp
@@ -278,7 +278,7 @@ const char* property, T&& val) { - auto condition = [val = std::move(val)](T && arg) + auto condition = [val = std::forward<T>(val)](T && arg) { return arg == val; };