Make the resize function not-noexcept

Since technically the string allocations within the logging for
`fix_local_coordinates()` can throw.
This commit is contained in:
Robbert van der Helm
2021-08-16 21:07:03 +02:00
parent d46f7882bd
commit 9ac597a6fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ Editor::Editor(MainContext& main_context,
}
}
void Editor::resize(uint16_t width, uint16_t height) noexcept {
void Editor::resize(uint16_t width, uint16_t height) {
logger.log_editor_trace([&]() {
return "DEBUG: Resizing wrapper window to " + std::to_string(width) +
"x" + std::to_string(height);