From a81490c35ca93174265f18d98a542d383a11bdfa Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 25 Apr 2024 09:39:23 +1000 Subject: reduce some Directives exceptions down to error strings for perf additionally, image operations that don't exist simply pass through now --- source/core/StarImageProcessing.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/core/StarImageProcessing.hpp') diff --git a/source/core/StarImageProcessing.hpp b/source/core/StarImageProcessing.hpp index 71ce6fc..8316d18 100644 --- a/source/core/StarImageProcessing.hpp +++ b/source/core/StarImageProcessing.hpp @@ -18,11 +18,11 @@ StringList colorDirectivesFromConfig(JsonArray const& directives); String paletteSwapDirectivesFromConfig(Json const& swaps); struct NullImageOperation { - + bool unloaded = false; }; struct ErrorImageOperation { - std::exception_ptr exception; + Variant cause; }; struct HueShiftImageOperation { -- cgit v1.2.3