diff --git a/cpp/subprojects/boosting/src/boosting/statistics/statistics_example_wise_common.hpp b/cpp/subprojects/boosting/src/boosting/statistics/statistics_example_wise_common.hpp index 0cad5ad5e9..b0d1a75bfe 100644 --- a/cpp/subprojects/boosting/src/boosting/statistics/statistics_example_wise_common.hpp +++ b/cpp/subprojects/boosting/src/boosting/statistics/statistics_example_wise_common.hpp @@ -239,7 +239,7 @@ namespace boosting { template class StatisticsSubset final : public AbstractExampleWiseImmutableStatistics::AbstractStatisticsSubset { + RuleEvaluationFactory>::template AbstractStatisticsSubset { private: @@ -264,7 +264,7 @@ namespace boosting { std::unique_ptr> ruleEvaluationPtr, const T& labelIndices) : AbstractExampleWiseImmutableStatistics::AbstractStatisticsSubset( + RuleEvaluationFactory>::template AbstractStatisticsSubset( histogram, totalSumVector, std::move(ruleEvaluationPtr), labelIndices), histogram_(histogram), totalCoverableSumVector_(nullptr) { @@ -403,8 +403,8 @@ namespace boosting { */ template class StatisticsSubset final : - public AbstractExampleWiseImmutableStatistics::AbstractStatisticsSubset { + public AbstractExampleWiseImmutableStatistics::template AbstractStatisticsSubset { private: @@ -429,7 +429,7 @@ namespace boosting { std::unique_ptr> ruleEvaluationPtr, const T& labelIndices) : AbstractExampleWiseImmutableStatistics::AbstractStatisticsSubset( + ExampleWiseRuleEvaluationFactory>::template AbstractStatisticsSubset( statistics, totalSumVector, std::move(ruleEvaluationPtr), labelIndices), totalCoverableSumVector_(nullptr) { diff --git a/cpp/subprojects/boosting/src/boosting/statistics/statistics_label_wise_common.hpp b/cpp/subprojects/boosting/src/boosting/statistics/statistics_label_wise_common.hpp index 9ac6e33a90..fc45fde4e4 100644 --- a/cpp/subprojects/boosting/src/boosting/statistics/statistics_label_wise_common.hpp +++ b/cpp/subprojects/boosting/src/boosting/statistics/statistics_label_wise_common.hpp @@ -228,7 +228,7 @@ namespace boosting { template class StatisticsSubset final : public AbstractLabelWiseImmutableStatistics::AbstractStatisticsSubset { + RuleEvaluationFactory>::template AbstractStatisticsSubset { private: @@ -252,7 +252,7 @@ namespace boosting { StatisticsSubset(const LabelWiseHistogram& histogram, const StatisticVector* totalSumVector, std::unique_ptr> ruleEvaluationPtr, const T& labelIndices) : AbstractLabelWiseImmutableStatistics::AbstractStatisticsSubset( + RuleEvaluationFactory>::template AbstractStatisticsSubset( histogram, totalSumVector, std::move(ruleEvaluationPtr), labelIndices), histogram_(histogram), totalCoverableSumVector_(nullptr) { @@ -379,7 +379,7 @@ namespace boosting { template class StatisticsSubset final : public AbstractLabelWiseImmutableStatistics::AbstractStatisticsSubset { + RuleEvaluationFactory>::template AbstractStatisticsSubset { private: @@ -403,7 +403,7 @@ namespace boosting { std::unique_ptr> ruleEvaluationPtr, const T& labelIndices) : AbstractLabelWiseImmutableStatistics::AbstractStatisticsSubset( + RuleEvaluationFactory>::template AbstractStatisticsSubset( statistics, totalSumVector, std::move(ruleEvaluationPtr), labelIndices), totalCoverableSumVector_(nullptr) {