From f42c0159197788e05f31efb600ef7afee84c8e82 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 26 Oct 2020 20:53:15 +0100 Subject: [PATCH] changed constexpr nanosecs to const --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 1f47603..9cb5e01 100644 --- a/main.cpp +++ b/main.cpp @@ -21,8 +21,8 @@ const int WIDTH {700}; const int HEIGHT {700}; -constexpr double FPS {50.0}; -constexpr int nanosecs {static_cast(round(1000000000.0 / FPS))}; +const double FPS {50.0}; +const int nanosecs {static_cast(round(1000000000.0 / FPS))}; sc::gui::Window* main_window {nullptr}; sc::gui::Image* main_image {nullptr};