mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Prefix AK::Duration with AK Namespace
This commit is contained in:
parent
2fa9ec20bd
commit
b20a1d0fcd
Notes:
sideshowbarker
2024-07-18 23:46:42 +09:00
Author: https://github.com/ADKaster
Commit: b20a1d0fcd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/676
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/trflynn89 ✅
16 changed files with 39 additions and 39 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue