From 2aee0384349f90e3a7edf977f7e33210ed932a4b Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Mon, 20 May 2019 10:48:30 +0300 Subject: [PATCH] Fix for missing return value --- renderer/cpp/include/ftl/display.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/cpp/include/ftl/display.hpp b/renderer/cpp/include/ftl/display.hpp index 299009ed9..04ff003de 100644 --- a/renderer/cpp/include/ftl/display.hpp +++ b/renderer/cpp/include/ftl/display.hpp @@ -33,7 +33,7 @@ class Display { explicit Display(nlohmann::json &config, std::string name); ~Display(); - inline bool render(const cv::Mat &rgb, const cv::Mat &depth, const cv::Mat &q) { render(rgb, cv::Mat(), q); } + inline bool render(const cv::Mat &rgb, const cv::Mat &depth, const cv::Mat &q) { return render(rgb, cv::Mat(), q); } bool render(const cv::Mat &rgb, const cv::Mat &rgbr, const cv::Mat &depth, const cv::Mat &q); #if defined HAVE_PCL -- GitLab