From 73869e9143a5b997d92e9c8efda477574b1edb12 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 7 May 2016 20:05:20 +1000 Subject: [PATCH] Passing by value is a potential performance issue, for const comparision (Coverity defect) --- include/internal/catch_test_case_registry_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_test_case_registry_impl.hpp b/include/internal/catch_test_case_registry_impl.hpp index a2b041a3..6175e1ce 100644 --- a/include/internal/catch_test_case_registry_impl.hpp +++ b/include/internal/catch_test_case_registry_impl.hpp @@ -22,7 +22,7 @@ namespace Catch { struct LexSort { - bool operator() (TestCase i,TestCase j) const { return (i