summaryrefslogtreecommitdiffstats
path: root/libtests/cxx11.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
committerJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
commit60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (patch)
treea707602da466c02ff1a54b3263c3a881cd7204a4 /libtests/cxx11.cc
parent6b077332d38c093de2618d5e1481b42222106065 (diff)
downloadqpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst
Rerun clang-format
Diffstat (limited to 'libtests/cxx11.cc')
-rw-r--r--libtests/cxx11.cc3
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; };