-
-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
static-analysisAn issue related to a static analysis resultAn issue related to a static analysis resulttest-caseRelating to TestCPP TestCaseRelating to TestCPP TestCase
Milestone
Description
These parameters can be refactored as const references (we will see if that is possible/contextually valid, though at first glance I believe it is)
src/TestCPPTestCase.cpp:145:35: style: Parameter 'o' can be declared as reference to const [constParameterReference]
TestCase::TestCase (TestCase& o) {
^
src/TestCPPTestCase.cpp:234:46: style: Parameter 'rhs' can be declared as reference to const [constParameterReference]
TestCase& TestCase::operator= (TestCase& rhs) {
^
src/TestCPPTestCase.cpp:292:53: style: Parameter 'reason' can be declared as reference to const [constParameterReference]
void TestCase::logFailure(ostream& out, string& reason) {
^
Metadata
Metadata
Assignees
Labels
static-analysisAn issue related to a static analysis resultAn issue related to a static analysis resulttest-caseRelating to TestCPP TestCaseRelating to TestCPP TestCase