mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
AK: Initialize the AK::Time members
Since we tell the compiler to provide a default constructor we need to initialize the member variables.
This commit is contained in:
parent
096c4571bb
commit
42bc229500
|
@ -117,8 +117,8 @@ private:
|
|||
|
||||
static Time from_half_sanitized(i64 seconds, i32 extra_seconds, u32 nanoseconds);
|
||||
|
||||
i64 m_seconds;
|
||||
u32 m_nanoseconds; // Always less than 1'000'000'000
|
||||
i64 m_seconds { 0 };
|
||||
u32 m_nanoseconds { 0 }; // Always less than 1'000'000'000
|
||||
};
|
||||
|
||||
template<typename TimevalType>
|
||||
|
|
Loading…
Reference in a new issue