From 53a420fba21cf1644972b34dcd811a43cdb8368d Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:18:58 +0000 Subject: Vendor import of libc++ trunk r290819: https://llvm.org/svn/llvm-project/libcxx/trunk@290819 --- test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp') diff --git a/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp b/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp index 3fec12b6b53d..50bcff9c90e5 100644 --- a/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp +++ b/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp @@ -22,11 +22,11 @@ struct Tag { Tag() : val(0), tag("Default") {} Tag(int a, const char *b) : val(a), tag(b) {} ~Tag() {} - + int val; const char *tag; }; - + bool eq(const Tag& rhs, const Tag& lhs) { return rhs.val == lhs.val && rhs.tag == lhs.tag; } // bool operator==(const Tag& rhs, const Tag& lhs) { return rhs.val == lhs.val; } bool comp (const Tag& rhs, const Tag& lhs) { return rhs.val < lhs.val; } -- cgit v1.2.3