[WIP] Suppress compiler warnings.

Visual Studio C4099: 'CommonExampleInterface': type name first seen using 'class' now seen using 'struct'.
This commit is contained in:
hujiajie 2016-07-11 18:02:42 +08:00
parent 9a99d18ca6
commit d776f06815
3 changed files with 3 additions and 3 deletions

View File

@ -1273,7 +1273,7 @@ void BenchmarkDemo::exitPhysics()
struct CommonExampleInterface* BenchmarkCreateFunc(struct CommonExampleOptions& options) CommonExampleInterface* BenchmarkCreateFunc(struct CommonExampleOptions& options)
{ {
return new BenchmarkDemo(options.m_guiHelper,options.m_option); return new BenchmarkDemo(options.m_guiHelper,options.m_option);
} }

View File

@ -285,7 +285,7 @@ char* makeExeToBspFilename(const char* lpCmdLine)
} }
struct CommonExampleInterface* ImportBspCreateFunc(struct CommonExampleOptions& options) CommonExampleInterface* ImportBspCreateFunc(struct CommonExampleOptions& options)
{ {
BspDemo* demo = new BspDemo(options.m_guiHelper); BspDemo* demo = new BspDemo(options.m_guiHelper);

View File

@ -156,7 +156,7 @@ public:
} }
}; };
struct CommonExampleInterface* CoordinateSystemCreateFunc(struct CommonExampleOptions& options) CommonExampleInterface* CoordinateSystemCreateFunc(struct CommonExampleOptions& options)
{ {
return new CoordinateSystemDemo(options.m_guiHelper->getAppInterface()); return new CoordinateSystemDemo(options.m_guiHelper->getAppInterface());
} }