Sfoglia il codice sorgente

Removed unnecessary copy constructor declaration in aiVector3t (#6384)

* Removed unnecessary copy constructor declaration in aiVector3t
* Added copy constructor back in aiVector3t
* Added explicit declaration of assignment operator in aiVector3t
EddieBreeg 2 mesi fa
parent
commit
95f09deaae
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      include/assimp/vector3.h

+ 4 - 0
include/assimp/vector3.h

@@ -85,6 +85,10 @@ public:
     /// @param  o The instance to copy from.
     aiVector3t( const aiVector3t& o ) = default;
 
+    /// @brief  The copy assignment operator.
+    /// @param  o The instance to copy.
+    aiVector3t& operator=(const aiVector3t& o) = default;
+
     /// @brief  combined operators
     /// @brief  The copy constructor.
     const aiVector3t& operator += (const aiVector3t& o);