1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

components/bullethelpers cleanup; removed warnings by using override

This commit is contained in:
Bret Curtis 2020-10-22 22:46:18 +02:00
parent d826fbdadf
commit 5475e696c8

View File

@ -11,11 +11,11 @@ namespace BulletHelpers
class ProcessTriangleCallback : public btTriangleCallback
{
public:
ProcessTriangleCallback(Impl impl)
explicit ProcessTriangleCallback(Impl impl)
: mImpl(std::move(impl))
{}
void processTriangle(btVector3* triangle, int partId, int triangleIndex) final
void processTriangle(btVector3* triangle, int partId, int triangleIndex) override
{
return mImpl(triangle, partId, triangleIndex);
}