From d12dfbc60aa4b1ae795c09aec7ddd617584ae4b3 Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Fri, 4 Mar 2022 01:04:23 +0100 Subject: [PATCH] Fix Clang compilation error. --- .../statistics/statistics_example_wise_common.hpp | 10 +++++----- .../statistics/statistics_label_wise_common.hpp | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) 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) {