From: Jiri Vlasak Date: Sun, 10 Mar 2019 14:46:12 +0000 (+0100) Subject: Fix missing mutex init X-Git-Tag: v0.6.0~15^2~3 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/hubacji1/iamcar.git/commitdiff_plain/dbbd62bb7bd0abc21449371c03d1810e69d2f8c7 Fix missing mutex init --- diff --git a/base/rrtbase.cc b/base/rrtbase.cc index 692a209..ab7cf25 100644 --- a/base/rrtbase.cc +++ b/base/rrtbase.cc @@ -36,7 +36,9 @@ extern SDL_Window* gw; extern SDL_GLContext gc; Cell::Cell() -{} +{ + pthread_mutex_init(&this->m_, NULL); +} bool Cell::changed() {