mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Mark internal-only function as having internal linkage.
PiperOrigin-RevId: 457550818 Change-Id: I9046801b64ce4581d742d650451332fd56489632
This commit is contained in:
parent
cdbed602b9
commit
9406a60c78
@ -435,7 +435,7 @@ bool UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked()
|
|||||||
return expectations_met;
|
return expectations_met;
|
||||||
}
|
}
|
||||||
|
|
||||||
CallReaction intToCallReaction(int mock_behavior) {
|
static CallReaction intToCallReaction(int mock_behavior) {
|
||||||
if (mock_behavior >= kAllow && mock_behavior <= kFail) {
|
if (mock_behavior >= kAllow && mock_behavior <= kFail) {
|
||||||
return static_cast<internal::CallReaction>(mock_behavior);
|
return static_cast<internal::CallReaction>(mock_behavior);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user