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:
Michael Maltese 2017-03-24 21:36:03 -07:00
parent b099a1c02a
commit 0c28ff2acc
1 changed files with 2 additions and 1 deletions

View File

@ -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_callbacks_ran_flags = 0;
s_expected_callback = CB_IDS[idx]; s_expected_callback = CB_IDS[idx];