Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarDirectives.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-25 09:39:23 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-25 09:39:23 +1000
commita81490c35ca93174265f18d98a542d383a11bdfa (patch)
tree54b75354b8a2273c5c5055c0f0caa9ba88f02e5e /source/core/StarDirectives.hpp
parent1b86da7f3634b8bc19473fde10b0a9079b0f4580 (diff)
reduce some Directives exceptions down to error strings for perf
additionally, image operations that don't exist simply pass through now
Diffstat (limited to 'source/core/StarDirectives.hpp')
-rw-r--r--source/core/StarDirectives.hpp4
1 files changed, 1 insertions, 3 deletions
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<Entry> entries;
String string;
- StringView prefix;
size_t hash = 0;
mutable Mutex mutex;
bool empty() const;
Shared();
- Shared(List<Entry>&& givenEntries, String&& givenString, StringView givenPrefix);
+ Shared(List<Entry>&& 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;