Browse Source

Fix:Add missing semicolon.

Kim Kulling 2 năm trước cách đây
mục cha
commit
9d57ac9cc5

+ 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