瀏覽代碼

Fix:Add missing semicolon.

Kim Kulling 2 年之前
父節點
當前提交
9d57ac9cc5
共有 3 個文件被更改,包括 2 次插入6 次删除
  1. 0 4
      code/AssetLib/ASE/ASELoader.cpp
  2. 1 1
      code/AssetLib/ASE/ASELoader.h
  3. 1 1
      code/AssetLib/ASE/ASEParser.h

+ 0 - 4
code/AssetLib/ASE/ASELoader.cpp

@@ -87,10 +87,6 @@ ASEImporter::ASEImporter() :
     // empty
 }
 
-// ------------------------------------------------------------------------------------------------
-// Destructor, private as well
-ASEImporter::~ASEImporter() = default;
-
 // ------------------------------------------------------------------------------------------------
 // Returns whether the class can handle the format of the given file.
 bool ASEImporter::CanRead(const std::string &pFile, IOSystem *pIOHandler, bool /*checkSig*/) const {

+ 1 - 1
code/AssetLib/ASE/ASELoader.h

@@ -62,7 +62,7 @@ namespace Assimp {
 class ASEImporter : public BaseImporter {
 public:
     ASEImporter();
-    ~ASEImporter() override;
+    ~ASEImporter() override = default;
 
     // -------------------------------------------------------------------
     /** Returns whether the class can handle the format of the given file.

+ 1 - 1
code/AssetLib/ASE/ASEParser.h

@@ -386,7 +386,7 @@ struct Dummy : public BaseNode {
 class Parser {
 public:
     /// @brief No default constructor.
-    Parser() AI_NO_EXCEPT = delete
+    Parser() = delete;
 
     // -------------------------------------------------------------------
     //! Construct a parser from a given input file which is