[WIP] Suppress compiler warnings.
Visual Studio C4099: 'CommonExampleInterface': type name first seen using 'class' now seen using 'struct'.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user