setting copy ctor of ModelAnimations.hpp to default

This commit is contained in:
Clément Le Bihan
2021-06-03 09:13:58 +02:00
parent d29b0dc4ed
commit 72d66bc970
+4 -7
View File
@@ -21,17 +21,14 @@ namespace RAY {
//! @param filePath Path to the file containing animations //! @param filePath Path to the file containing animations
ModelAnimations(const std::string &filePath); ModelAnimations(const std::string &filePath);
//! @brief Only single entity can hold these animations pointers //! @brief default copy ctor
ModelAnimations(const ModelAnimations &) = delete; ModelAnimations(const ModelAnimations &) = default;
//! @brief Default constructor //! @brief Default constructor
~ModelAnimations() = default; ~ModelAnimations() = default;
//! @brief Default move ctor //! @brief Default assignment operator
ModelAnimations(ModelAnimations &&) = default; ModelAnimations &operator=(const ModelAnimations &) = default;
//! @brief Only single entity can hold these animations pointers
ModelAnimations &operator=(const ModelAnimations &) = delete;
//! @brief Castin Object to raw model animation pointer //! @brief Castin Object to raw model animation pointer
ModelAnimation &operator[](int index); ModelAnimation &operator[](int index);