From ea5996307a912668a0b272f0d0af018aef46f1ce Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 18 Jan 2022 22:20:37 +0100 Subject: [PATCH] Update B3DImporter.cpp --- code/AssetLib/B3D/B3DImporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/AssetLib/B3D/B3DImporter.cpp b/code/AssetLib/B3D/B3DImporter.cpp index 6a0c09ee9..c4ef75be3 100644 --- a/code/AssetLib/B3D/B3DImporter.cpp +++ b/code/AssetLib/B3D/B3DImporter.cpp @@ -81,7 +81,7 @@ static const aiImporterDesc desc = { //#define DEBUG_B3D -template +template void DeleteAllBarePointers(std::vector &x) { for (auto p : x) { delete p; @@ -93,7 +93,7 @@ B3DImporter::~B3DImporter() { } // ------------------------------------------------------------------------------------------------ -bool B3DImporter::CanRead(const std::string & /*pFile*/, IOSystem * /*pIOHandler*/, bool /*checkSig*/) const { +bool B3DImporter::CanRead(const std::string &pFile, IOSystem * /*pIOHandler*/, bool /*checkSig*/) const { size_t pos = pFile.find_last_of('.'); if (pos == string::npos) { return false;