From c9e889723b7af832322d178975e6e440d6cd3ae5 Mon Sep 17 00:00:00 2001 From: LDA Date: Mon, 26 Jun 2023 11:48:27 -0700 Subject: resolved most of the compiler warnings/errors under gcc also update xxhash and tinyformat --- source/core/StarLuaConverters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/StarLuaConverters.cpp') diff --git a/source/core/StarLuaConverters.cpp b/source/core/StarLuaConverters.cpp index e09876a..9cd44e3 100644 --- a/source/core/StarLuaConverters.cpp +++ b/source/core/StarLuaConverters.cpp @@ -33,7 +33,7 @@ Maybe LuaConverter::to(LuaEngine& engine, LuaValue const& v) { } else if (auto s = v.ptr()) { try { return Color(s->ptr()); - } catch (ColorException) {} + } catch (ColorException const&) {} } return {}; -- cgit v1.2.3