From bf7171b7bac36d1293d67a1171b5b379a2953e77 Mon Sep 17 00:00:00 2001 From: Osyotr Date: Fri, 25 Jul 2025 18:35:37 +0300 Subject: [PATCH] Don't mark function that throws exception noexcept --- src/ifcparse/variantarray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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