mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Don't mark function that throws exception noexcept
This commit is contained in:
@@ -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
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user