LibWeb: Prefix AK::Duration with AK Namespace

This commit is contained in:
Andrew Kaster 2024-07-16 23:45:44 -06:00 committed by Sam Atkins
commit b20a1d0fcd
Notes: sideshowbarker 2024-07-18 23:46:42 +09:00
16 changed files with 39 additions and 39 deletions

View file

@ -399,7 +399,7 @@ void EventSource::process_field(StringView field, StringView value)
// If the field value consists of only ASCII digits, then interpret the field value as an integer in base ten,
// and set the event stream's reconnection time to that integer. Otherwise, ignore the field.
if (auto retry = value.to_number<i64>(); retry.has_value())
m_reconnection_time = Duration::from_seconds(*retry);
m_reconnection_time = AK::Duration::from_seconds(*retry);
}
// -> Otherwise
else {