diff options
Diffstat (limited to 'libtests/cxx11.cc')
-rw-r--r-- | libtests/cxx11.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc index 5f0dcc9a..59c74fa8 100644 --- a/libtests/cxx11.cc +++ b/libtests/cxx11.cc @@ -33,8 +33,7 @@ do_functional() x = 7; // change not seen by lambda assert(by_value(1) == 6); // Also >> at end of template - assert((std::is_convertible<decltype(by_value), std::function<int(int)>>:: - value)); + assert((std::is_convertible<decltype(by_value), std::function<int(int)>>::value)); // Capture by reference auto by_reference = [&x](int a) { return a + x; }; |