From b1df3e13072b8dc2a89287a2cea7b563181cab64 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Sun, 4 Dec 2022 18:42:35 +0100 Subject: [PATCH] try to fix pipeline 3 --- .gitlab-ci.yml | 2 +- src/include/operation/extensions/reg.cc.h | 4 ++-- src/include/ranges/xindex.h | 1 + src/include/ranges/yrange.h | 1 - src/include/xpr/vpos_type.h | 1 + src/include/xpr/xpr_base.h | 1 + 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab30039..4bf9a17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ before_script: - export GTEST_ROOT=/opt/gtest-1.8.0 -image: docker.io/rqcd/centos-buildtools:7.2.1511 +image: hub.docker.com/r/88plug/gcc-8-ubuntu-18.04 stages: - build diff --git a/src/include/operation/extensions/reg.cc.h b/src/include/operation/extensions/reg.cc.h index 7d62c03..85dd00e 100644 --- a/src/include/operation/extensions/reg.cc.h +++ b/src/include/operation/extensions/reg.cc.h @@ -81,8 +81,8 @@ namespace CNORXZ } template - static constexpr decltype(auto) consecFuncI(const F& f, const Args&... args, - std::index_sequence is) + constexpr decltype(auto) consecFuncI(const F& f, const Args&... args, + std::index_sequence is) { typedef decltype(consecApply<0>(f, args...)) OType; constexpr SizeT N = sizeof...(Is); diff --git a/src/include/ranges/xindex.h b/src/include/ranges/xindex.h index 582be8e..ce1d331 100644 --- a/src/include/ranges/xindex.h +++ b/src/include/ranges/xindex.h @@ -14,6 +14,7 @@ namespace CNORXZ { public: DEFAULT_MEMBERS(XIndexBase); + virtual ~XIndexBase() = default; virtual XIndexPtr copy() const = 0; virtual SizeT pos() const = 0; diff --git a/src/include/ranges/yrange.h b/src/include/ranges/yrange.h index 8d66e45..ebbcd08 100644 --- a/src/include/ranges/yrange.h +++ b/src/include/ranges/yrange.h @@ -74,7 +74,6 @@ namespace CNORXZ inline SizeT mkPMax() const; inline SizeT mkLMax() const; - SizeT mLPos = 0; Sptr mRange; Vector mIs; Vector mBlockSizes; // dim() elements only!!! diff --git a/src/include/xpr/vpos_type.h b/src/include/xpr/vpos_type.h index fd86d2e..861ad1d 100644 --- a/src/include/xpr/vpos_type.h +++ b/src/include/xpr/vpos_type.h @@ -10,6 +10,7 @@ namespace CNORXZ { public: DEFAULT_MEMBERS(VPosBase); + virtual ~VPosBase() = default; virtual Uptr copy() const = 0; virtual SizeT vsize() const = 0; diff --git a/src/include/xpr/xpr_base.h b/src/include/xpr/xpr_base.h index 53bf760..0b92b2e 100644 --- a/src/include/xpr/xpr_base.h +++ b/src/include/xpr/xpr_base.h @@ -32,6 +32,7 @@ namespace CNORXZ { public: DEFAULT_MEMBERS(VXprBase); + virtual ~VXprBase() = default; virtual Uptr> copy() const = 0;