From dbbd62bb7bd0abc21449371c03d1810e69d2f8c7 Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Sun, 10 Mar 2019 15:46:12 +0100 Subject: [PATCH] Fix missing mutex init --- base/rrtbase.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() { -- 2.39.2