From 4a729678fd47a069ba6a869fb978dbd48656b74a Mon Sep 17 00:00:00 2001 From: Jean-Philippe DUFRAIGNE Date: Sun, 24 Sep 2017 14:13:42 +0100 Subject: [PATCH] Fix transformed test compile error on GCC 5.4 The function object 'lambda' did not provide result_type like the other function objects did. The test now compile and pass using'b2' --- test/adaptor_test/transformed.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/adaptor_test/transformed.cpp b/test/adaptor_test/transformed.cpp index 9146f84..10f6a0c 100644 --- a/test/adaptor_test/transformed.cpp +++ b/test/adaptor_test/transformed.cpp @@ -44,6 +44,8 @@ namespace boost struct lambda { + typedef int result_type; + lambda(const lambda_init& init) {} lambda(const lambda& rhs) {}