Skip to content

Commit a2f63ff

Browse files
committed
gtest/test_checkblock.cpp: fix a bug in MockCValidationState that was
causing a test warning. Signed-off-by: Daira-Emma Hopwood <[email protected]>
1 parent 238ffa4 commit a2f63ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gtest/test_checkblock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class MockCValidationState : public CValidationState {
1111
public:
1212
MOCK_METHOD6(DoS, bool(int level, bool ret,
13-
unsigned int chRejectCodeIn, const std::string strRejectReasonIn,
13+
unsigned int chRejectCodeIn, const std::string &strRejectReasonIn,
1414
bool corruptionIn,
1515
const std::string &strDebugMessageIn));
1616
MOCK_METHOD4(Invalid, bool(bool ret,

0 commit comments

Comments
 (0)