diff --git a/src/ifcparse/variantarray.h b/src/ifcparse/variantarray.h index 45c2f04df0..29b247c5a6 100644 --- a/src/ifcparse/variantarray.h +++ b/src/ifcparse/variantarray.h @@ -193,7 +193,7 @@ public: free_(); } - std::size_t index(std::size_t index) const noexcept { + std::size_t index(std::size_t index) const { if (index >= size()) { throw IfcParse::IfcException( "Index " + std::to_string(index) + " is out of range for variant of size " + std::to_string(size()) @@ -337,4 +337,4 @@ private: } }; -#endif \ No newline at end of file +#endif