From 0bf560a090bb594186aa3cb9301b8a0ff62bf650 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 12 Sep 2023 06:58:47 +0200 Subject: [PATCH] fix build issues --- ApplicationLibCode/ModelVisualization/RivAnnotationTools.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ApplicationLibCode/ModelVisualization/RivAnnotationTools.cpp b/ApplicationLibCode/ModelVisualization/RivAnnotationTools.cpp index b325819668..ff29be5fd9 100644 --- a/ApplicationLibCode/ModelVisualization/RivAnnotationTools.cpp +++ b/ApplicationLibCode/ModelVisualization/RivAnnotationTools.cpp @@ -37,6 +37,7 @@ #include "cvfViewport.h" #include +#include #include namespace caf @@ -185,7 +186,8 @@ auto createLabel = []( const cvf::Camera* camera, camera->unproject( screenCoord, &labelPosition ); } - return LabelInfo( annotationObject->text(), anchorPosition, labelPosition ); + LabelInfo info = { annotationObject->text(), anchorPosition, labelPosition }; + return info; }; //--------------------------------------------------------------------------------------------------