From 13b2067da6e34da778cf68b10602079b27460d21 Mon Sep 17 00:00:00 2001 From: Max Wipfli Date: Tue, 29 Jun 2021 11:12:48 +0200 Subject: [PATCH] AK: Make JsonValue::as_string_or() const --- AK/JsonValue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/JsonValue.h b/AK/JsonValue.h index 93cea679f3..a368cd7195 100644 --- a/AK/JsonValue.h +++ b/AK/JsonValue.h @@ -69,7 +69,7 @@ public: template void serialize(Builder&) const; - String as_string_or(const String& alternative) + String as_string_or(String const& alternative) const { if (is_string()) return as_string();