[On behalf of Lexmark]: Pass TestCase by reference

This commit is contained in:
James Trey Nickelsen 2015-08-19 10:21:36 -05:00 committed by James Trey Nickelsen
parent 1dd0d4c61a
commit 146f065097
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace Catch {
class TestRegistry : public ITestCaseRegistry {
struct LexSort {
bool operator() (TestCase i,TestCase j) const { return (i<j);}
bool operator() ( TestCase const& i, TestCase const& j) const { return ( i < j ); }
};
struct RandomNumberGenerator {
int operator()( int n ) const { return std::rand() % n; }