From ab06acfe833ca62c97df1428194486e1d7052f49 Mon Sep 17 00:00:00 2001 From: Fabien Servant Date: Fri, 13 Aug 2021 11:53:05 +0200 Subject: [PATCH] [all] inverted version comparison --- src/aliceVision/version.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aliceVision/version.hpp b/src/aliceVision/version.hpp index 2c6456d7e7..684e117b17 100644 --- a/src/aliceVision/version.hpp +++ b/src/aliceVision/version.hpp @@ -39,12 +39,12 @@ class Version { for (Vec3::Index i = 0; i < 3; i++) { - if (other._v[i] < _v[i]) + if (_v[i] < other._v[i]) { return true; } - if (other._v[i] > _v[i]) + if (_v[i] > other._v[i]) { return false; }