diff --git a/include/generic_object.hpp b/include/generic_object.hpp index 72c0353..da3422c 100644 --- a/include/generic_object.hpp +++ b/include/generic_object.hpp @@ -78,7 +78,7 @@ namespace character { public: const weapons type{ weapons::Sword }; - explicit Weapons(const weapons type) : type(type) {} + explicit Weapons(const weapons type) noexcept : type(type) {} Weapons() = delete; @@ -101,7 +101,7 @@ namespace character { public: const equipments type{ equipments::Chainmail }; - explicit Equipments(const equipments type) : type(type) {} + explicit Equipments(const equipments type) noexcept : type(type) {} Equipments() = delete; @@ -124,7 +124,7 @@ namespace character { public: const tools type{ tools::Fourche }; - explicit Tools(const tools type) : type(type) {} + explicit Tools(const tools type) noexcept : type(type) {} Tools() = delete; @@ -144,4 +144,4 @@ namespace character { }; } // character -#endif //BILLYSHEET_GENERIC_OBJECT_HPP \ No newline at end of file +#endif //BILLYSHEET_GENERIC_OBJECT_HPP