[WIP] Suppress compiler warnings.

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

No files matched your search

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