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/StarDirectives.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/core/StarDirectives.hpp') diff --git a/source/core/StarDirectives.hpp b/source/core/StarDirectives.hpp index fa10a33..e6b0a6e 100644 --- a/source/core/StarDirectives.hpp +++ b/source/core/StarDirectives.hpp @@ -31,13 +31,12 @@ public: struct Shared { List entries; String string; - StringView prefix; size_t hash = 0; mutable Mutex mutex; bool empty() const; Shared(); - Shared(List&& givenEntries, String&& givenString, StringView givenPrefix); + Shared(List&& givenEntries, String&& givenString); }; Directives(); @@ -57,7 +56,6 @@ public: void loadOperations() const; void parse(String&& directives); String string() const; - StringView prefix() const; String const* stringPtr() const; String buildString() const; String& addToString(String& out) const; -- cgit v1.2.3