Kaynağa Gözat

Update B3DImporter.cpp

Kim Kulling 3 yıl önce
ebeveyn
işleme
ea5996307a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      code/AssetLib/B3D/B3DImporter.cpp

+ 2 - 2
code/AssetLib/B3D/B3DImporter.cpp

@@ -81,7 +81,7 @@ static const aiImporterDesc desc = {
 
 //#define DEBUG_B3D
 
-template <typename T>
+template<typename T>
 void DeleteAllBarePointers(std::vector<T> &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;