Skip to content

Commit

Permalink
Initialize m_earliest_event_time in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 authored Feb 27, 2025
1 parent 7a77539 commit ee5b903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/selectable.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Selectable
{
public:
Selectable(int pri = 0) : m_priority(pri),
m_last_used_time(std::chrono::steady_clock::now()) {}
m_earliest_event_time(g_max_event_time) {}

virtual ~Selectable() = default;

Expand Down

0 comments on commit ee5b903

Please # to comment.