|
@@ -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;
|