summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Intl
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/AbstractOperations.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/AbstractOperations.h b/Userland/Libraries/LibJS/Runtime/Intl/AbstractOperations.h
index 5edddd55eb..57ff6c47fa 100644
--- a/Userland/Libraries/LibJS/Runtime/Intl/AbstractOperations.h
+++ b/Userland/Libraries/LibJS/Runtime/Intl/AbstractOperations.h
@@ -35,6 +35,14 @@ struct LocaleResult {
};
struct PatternPartition {
+ PatternPartition() = default;
+
+ PatternPartition(StringView type_string, String value_string)
+ : type(type_string)
+ , value(move(value_string))
+ {
+ }
+
StringView type;
String value;
};