Add INLINE decoration to static test functions

Fixes "unused function" warnings.

Change-Id: Idc0cd06189917c37dead17d923ac7f9ecef18983
This commit is contained in:
Johann
2015-08-26 10:12:14 -07:00
parent 2474bea46e
commit e5b76ba26e
2 changed files with 2 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ static std::string GetDataPath() {
#undef TO_STRING
#undef STRINGIFY
static FILE *OpenTestDataFile(const std::string& file_name) {
static INLINE FILE *OpenTestDataFile(const std::string& file_name) {
const std::string path_to_source = GetDataPath() + "/" + file_name;
return fopen(path_to_source.c_str(), "rb");
}