CoreTimingTest: make AdvanceAndCheck() static (fix warning)
Fixes warning: ``` ../Source/UnitTests/Core/CoreTimingTest.cpp: In function 'void AdvanceAndCheck(u32, int, int, int)': ../Source/UnitTests/Core/CoreTimingTest.cpp:52:6: error: no previous declaration for 'void AdvanceAndCheck(u32, int, int, int)' [-Werror=missing-declarations] void AdvanceAndCheck(u32 idx, int downcount, int expected_lateness = 0, int cpu_downcount = 0) ^ ```
This commit is contained in:
parent
b099a1c02a
commit
0c28ff2acc
|
@ -49,7 +49,8 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
void AdvanceAndCheck(u32 idx, int downcount, int expected_lateness = 0, int cpu_downcount = 0)
|
||||
static void AdvanceAndCheck(u32 idx, int downcount, int expected_lateness = 0,
|
||||
int cpu_downcount = 0)
|
||||
{
|
||||
s_callbacks_ran_flags = 0;
|
||||
s_expected_callback = CB_IDS[idx];
|
||||
|
|
Loading…
Reference in New Issue