diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:18:58 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:18:58 +0000 |
| commit | 53a420fba21cf1644972b34dcd811a43cdb8368d (patch) | |
| tree | 66a19f6f8b65215772549a51d688492ab8addc0d /test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp | |
| parent | b50f1549701eb950921e5d6f2e55ba1a1dadbb43 (diff) | |
Notes
Diffstat (limited to 'test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp')
| -rw-r--r-- | test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
