diff --git a/libcxx/test/libcxx/algorithms/lifetimebound.verify.cpp b/libcxx/test/libcxx/algorithms/lifetimebound.verify.cpp index 6bb1a4c6bbe3dd3..8c92c4a52793257 100644 --- a/libcxx/test/libcxx/algorithms/lifetimebound.verify.cpp +++ b/libcxx/test/libcxx/algorithms/lifetimebound.verify.cpp @@ -15,7 +15,7 @@ struct Comp { template - bool operator()(T, U) { + bool operator()(T, U) const { return false; } };