refactor: reorder initilization order in XWindowEventQueueBuffer constructor
This commit is contained in:
parent
3770e2c39e
commit
a21d48defb
1 changed files with 3 additions and 3 deletions
|
|
@ -28,9 +28,9 @@ class EventQueueTimer
|
||||||
//
|
//
|
||||||
|
|
||||||
XWindowsEventQueueBuffer::XWindowsEventQueueBuffer(Display *display, Window window, IEventQueue *events)
|
XWindowsEventQueueBuffer::XWindowsEventQueueBuffer(Display *display, Window window, IEventQueue *events)
|
||||||
: m_events(events),
|
: m_display(display),
|
||||||
m_display(display),
|
m_window(window),
|
||||||
m_window(window)
|
m_events(events)
|
||||||
{
|
{
|
||||||
assert(m_display != nullptr);
|
assert(m_display != nullptr);
|
||||||
assert(m_window != None);
|
assert(m_window != None);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue