From dc6222611ad14a33f642396558ba84ecba9d6605 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 14 Mar 2022 18:02:18 +0100 Subject: perf: add noexcept almost everywhere --- src/engine/graphics/scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/graphics/scene.cpp') diff --git a/src/engine/graphics/scene.cpp b/src/engine/graphics/scene.cpp index 6b85915..660e3ca 100644 --- a/src/engine/graphics/scene.cpp +++ b/src/engine/graphics/scene.cpp @@ -53,7 +53,7 @@ void Scene::write_status(const std::string_view &str) noexcept _cursor_controller->move_to( Vector2({.x = 2, .y = static_cast(window_size.get_height())})); - const auto background_color = get_background_esc_seq(STATUSBAR_COLOR); + auto background_color = get_background_esc_seq(STATUSBAR_COLOR); fmt::print("{}", background_color); fmt::print(ERASE_ENTIRE_LINE, fmt::arg("esc", ESC)); -- cgit v1.2.3-18-g5258