mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Don't mark function that throws exception noexcept
This commit is contained in:
@@ -193,7 +193,7 @@ public:
|
|||||||
free_();
|
free_();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t index(std::size_t index) const noexcept {
|
std::size_t index(std::size_t index) const {
|
||||||
if (index >= size()) {
|
if (index >= size()) {
|
||||||
throw IfcParse::IfcException(
|
throw IfcParse::IfcException(
|
||||||
"Index " + std::to_string(index) + " is out of range for variant of size " + std::to_string(size())
|
"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