Skip to content

Commit

Permalink
Fix build issue on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Jun 25, 2024
1 parent c78dfca commit f1b79a1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions modules/core/include/visp3/core/vpImageTools_warp.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#define VP_IMAGE_TOOLS_WARP_H

// Warning: this file shouldn't be included by the user. Internal usage only to reduce length of vpImage.h
#include <visp3/core/vpImageTools.h>

/*!
Apply a warping (affine or perspective) transformation to an image.
Expand Down
4 changes: 2 additions & 2 deletions modules/core/test/camera/testJsonCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class vpRandomCamGenerator : public Catch::Generators::IGenerator<vpCameraParame
static_cast<void>(next());
}

const vpCameraParameters &get() const vp_override { return current; }
bool next() vp_override
const vpCameraParameters &get() const VP_OVERRIDE { return current; }
bool next() VP_OVERRIDE
{
const double px = m_dist(m_rand);
const double py = m_dist(m_rand);
Expand Down
12 changes: 6 additions & 6 deletions modules/core/test/math/testJsonArrayConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ class vpExceptionMatcher : public Catch::Matchers::Impl::MatcherBase<vpException
: m_type(type), m_messageMatcher(messageMatcher)
{ }

bool match(vpException const &in) const vp_override
bool match(vpException const &in) const VP_OVERRIDE
{
return m_type == in.getCode() && m_messageMatcher.match(in.getStringMessage());
}

std::string describe() const vp_override
std::string describe() const VP_OVERRIDE
{
std::ostringstream ss;
ss << "vpException has type " << m_type << " and message " << m_messageMatcher.describe();
Expand All @@ -98,8 +98,8 @@ class vpRandomArray2DGenerator : public Catch::Generators::IGenerator<vpArray2D<
static_cast<void>(next());
}

vpArray2D<double> const &get() const vp_override { return current; }
bool next() vp_override
vpArray2D<double> const &get() const VP_OVERRIDE { return current; }
bool next() VP_OVERRIDE
{
const unsigned nCols = m_dim_dist(m_rand);
const unsigned nRows = m_dim_dist(m_rand);
Expand Down Expand Up @@ -129,8 +129,8 @@ class vpRandomColVectorGenerator : public Catch::Generators::IGenerator<vpColVec
static_cast<void>(next());
}

const vpColVector &get() const vp_override { return current; }
bool next() vp_override
const vpColVector &get() const VP_OVERRIDE { return current; }
bool next() VP_OVERRIDE
{
const unsigned nRows = m_dim_dist(m_rand);
current.resize(nRows);
Expand Down
4 changes: 2 additions & 2 deletions modules/tracker/me/test/testJsonMe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class RandomMeGenerator : public Catch::Generators::IGenerator<vpMe>
static_cast<void>(next());
}

vpMe const &get() const vp_override { return current; }
bool next() vp_override
vpMe const &get() const VP_OVERRIDE { return current; }
bool next() VP_OVERRIDE
{
current.setThreshold(m_dist(m_rand) * 255);
current.setMaskNumber(m_int_dist(m_rand) * 10);
Expand Down

0 comments on commit f1b79a1

Please sign in to comment.