From bfdcc2b7b57281c960440bbd2bf3b28c11403207 Mon Sep 17 00:00:00 2001
From: Sebastian Hahta <joseha@utu.fi>
Date: Wed, 28 Aug 2019 12:05:05 +0300
Subject: [PATCH] bug: use_off_ local

---
 components/rgbd-sources/src/algorithms/fixstars_sgm.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp b/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp
index 347d66184..71f714c3a 100644
--- a/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp
+++ b/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp
@@ -38,7 +38,7 @@ FixstarsSGM::FixstarsSGM(nlohmann::json &config) : Disparity(config) {
 	}
 	
 #ifdef HAVE_OPTFLOW
-	bool use_off_ = value("use_off", false);
+	use_off_ = value("use_off", false);
 
 	if (use_off_)
 	{
-- 
GitLab