mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-18 14:59:19 +02:00
refactor: change typedef, nullptr, scoped_lock and others
This commit is contained in:
@@ -121,7 +121,7 @@ void python_screen_viewer::threadfunc()
|
||||
int format, components, width, height;
|
||||
|
||||
if (!Global.python_sharectx) {
|
||||
std::lock_guard<std::mutex> guard(m_rt->mutex);
|
||||
std::scoped_lock guard(m_rt->mutex);
|
||||
|
||||
if (window->timestamp == m_rt->timestamp)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user