Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Sep 12, 2023
1 parent 5e1975c commit 0bf560a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ApplicationLibCode/ModelVisualization/RivAnnotationTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "cvfViewport.h"

#include <algorithm>
#include <cmath>
#include <optional>

namespace caf
Expand Down Expand Up @@ -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;
};

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 0bf560a

Please sign in to comment.