From 76e2a3f66817ec4c25c64d1cffe38e197c18a13e Mon Sep 17 00:00:00 2001 From: grunt-lucas Date: Thu, 31 Oct 2024 13:43:40 -0700 Subject: [PATCH] Fix gcc compilation error --- Porytiles-2.x/tools/driver/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Porytiles-2.x/tools/driver/main.cpp b/Porytiles-2.x/tools/driver/main.cpp index 10904c6..3b461a9 100644 --- a/Porytiles-2.x/tools/driver/main.cpp +++ b/Porytiles-2.x/tools/driver/main.cpp @@ -8,8 +8,8 @@ int main() { using namespace porytiles::color; - constexpr Bgr15 bgr{}; - constexpr Rgba32 rgb{}; + const Bgr15 bgr{}; + const Rgba32 rgb{}; std::cout << "Hello, Porytiles!" << std::endl; std::cout << "My BGR raw value: " << std::to_string(bgr.getRawValue()) << std::endl; std::cout << "My RGB jasc string: " << rgb.toJascString() << std::endl;