Shoudn't it be "m_device"?