From b407be6d616869a3172ca40cd8ccb870d2387f2b Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Mon, 19 Aug 2024 01:54:56 +0200 Subject: [PATCH] Add missing DLL exports. --- .../mlrl/boosting/data/view_statistic_decomposable_bit.hpp | 3 ++- .../common/include/mlrl/common/data/view_bit.hpp | 2 +- .../common/include/mlrl/common/data/view_matrix_bit.hpp | 6 +++--- .../common/include/mlrl/common/data/view_vector_bit.hpp | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cpp/subprojects/boosting/include/mlrl/boosting/data/view_statistic_decomposable_bit.hpp b/cpp/subprojects/boosting/include/mlrl/boosting/data/view_statistic_decomposable_bit.hpp index 1dfac07e1..40828733b 100644 --- a/cpp/subprojects/boosting/include/mlrl/boosting/data/view_statistic_decomposable_bit.hpp +++ b/cpp/subprojects/boosting/include/mlrl/boosting/data/view_statistic_decomposable_bit.hpp @@ -3,6 +3,7 @@ */ #pragma once +#include "mlrl/boosting/util/dll_exports.hpp" #include "mlrl/common/data/view_matrix_bit.hpp" #include "mlrl/common/data/view_matrix_composite.hpp" @@ -12,7 +13,7 @@ namespace boosting { * Implements row-wise read and write access to the gradients and Hessians that have been calculated using a * decomposable loss function and are stored in pre-allocated bit matrices. */ - class BitDecomposableStatisticView + class MLRLBOOSTING_API BitDecomposableStatisticView : public CompositeMatrix, AllocatedBitMatrix> { public: diff --git a/cpp/subprojects/common/include/mlrl/common/data/view_bit.hpp b/cpp/subprojects/common/include/mlrl/common/data/view_bit.hpp index a527f01d4..994e031b0 100644 --- a/cpp/subprojects/common/include/mlrl/common/data/view_bit.hpp +++ b/cpp/subprojects/common/include/mlrl/common/data/view_bit.hpp @@ -11,7 +11,7 @@ * A view that provides random access to integer values, each with a specific number of bits, stored in a pre-allocated * array of a specific size. */ -class BitView : public BaseView { +class MLRLCOMMON_API BitView : public BaseView { public: /** diff --git a/cpp/subprojects/common/include/mlrl/common/data/view_matrix_bit.hpp b/cpp/subprojects/common/include/mlrl/common/data/view_matrix_bit.hpp index 9cf4f135b..96b7063e7 100644 --- a/cpp/subprojects/common/include/mlrl/common/data/view_matrix_bit.hpp +++ b/cpp/subprojects/common/include/mlrl/common/data/view_matrix_bit.hpp @@ -16,8 +16,8 @@ * @tparam T The type of the integer values, the view provides access to */ template -class BitMatrix : public BitView, - public Matrix { +class MLRLCOMMON_API BitMatrix : public BitView, + public Matrix { private: uint32 numElementsPerRow; @@ -86,7 +86,7 @@ class BitMatrix : public BitView, * @tparam BitMatrix The type of the bit matrix */ template -class BitMatrixAllocator : public BitMatrix { +class MLRLCOMMON_API BitMatrixAllocator : public BitMatrix { public: /** diff --git a/cpp/subprojects/common/include/mlrl/common/data/view_vector_bit.hpp b/cpp/subprojects/common/include/mlrl/common/data/view_vector_bit.hpp index f778fd400..8a0e17090 100644 --- a/cpp/subprojects/common/include/mlrl/common/data/view_vector_bit.hpp +++ b/cpp/subprojects/common/include/mlrl/common/data/view_vector_bit.hpp @@ -16,7 +16,7 @@ * @param T The type of the integer values, the view provides access to */ template -class BitVector : public BitView { +class MLRLCOMMON_API BitVector : public BitView { private: static inline constexpr uint32 NUM_BITS = util::bits(); @@ -119,7 +119,7 @@ class BitVector : public BitView { * @tparam BitVector The type of the bit vector */ template -class BitVectorAllocator : public BitVector { +class MLRLCOMMON_API BitVectorAllocator : public BitVector { public: /**