Skip to content

Commit

Permalink
Fix Clang compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Mar 4, 2022
1 parent 33c86d6 commit d12dfbc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ namespace boosting {
template<typename T>
class StatisticsSubset final :
public AbstractExampleWiseImmutableStatistics<StatisticVector, Histogram, ScoreMatrix,
RuleEvaluationFactory>::AbstractStatisticsSubset<T> {
RuleEvaluationFactory>::template AbstractStatisticsSubset<T> {

private:

Expand All @@ -264,7 +264,7 @@ namespace boosting {
std::unique_ptr<IRuleEvaluation<StatisticVector>> ruleEvaluationPtr,
const T& labelIndices)
: AbstractExampleWiseImmutableStatistics<StatisticVector, Histogram, ScoreMatrix,
RuleEvaluationFactory>::AbstractStatisticsSubset<T>(
RuleEvaluationFactory>::template AbstractStatisticsSubset<T>(
histogram, totalSumVector, std::move(ruleEvaluationPtr), labelIndices),
histogram_(histogram), totalCoverableSumVector_(nullptr) {

Expand Down Expand Up @@ -403,8 +403,8 @@ namespace boosting {
*/
template<typename T>
class StatisticsSubset final :
public AbstractExampleWiseImmutableStatistics<StatisticVector, StatisticView,
ScoreMatrix, ExampleWiseRuleEvaluationFactory>::AbstractStatisticsSubset<T> {
public AbstractExampleWiseImmutableStatistics<StatisticVector, StatisticView, ScoreMatrix,
ExampleWiseRuleEvaluationFactory>::template AbstractStatisticsSubset<T> {

private:

Expand All @@ -429,7 +429,7 @@ namespace boosting {
std::unique_ptr<IRuleEvaluation<StatisticVector>> ruleEvaluationPtr,
const T& labelIndices)
: AbstractExampleWiseImmutableStatistics<StatisticVector, StatisticView, ScoreMatrix,
ExampleWiseRuleEvaluationFactory>::AbstractStatisticsSubset<T>(
ExampleWiseRuleEvaluationFactory>::template AbstractStatisticsSubset<T>(
statistics, totalSumVector, std::move(ruleEvaluationPtr), labelIndices),
totalCoverableSumVector_(nullptr) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ namespace boosting {
template<typename T>
class StatisticsSubset final :
public AbstractLabelWiseImmutableStatistics<StatisticVector, Histogram, ScoreMatrix,
RuleEvaluationFactory>::AbstractStatisticsSubset<T> {
RuleEvaluationFactory>::template AbstractStatisticsSubset<T> {

private:

Expand All @@ -252,7 +252,7 @@ namespace boosting {
StatisticsSubset(const LabelWiseHistogram& histogram, const StatisticVector* totalSumVector,
std::unique_ptr<IRuleEvaluation<StatisticVector>> ruleEvaluationPtr, const T& labelIndices)
: AbstractLabelWiseImmutableStatistics<StatisticVector, Histogram, ScoreMatrix,
RuleEvaluationFactory>::AbstractStatisticsSubset<T>(
RuleEvaluationFactory>::template AbstractStatisticsSubset<T>(
histogram, totalSumVector, std::move(ruleEvaluationPtr), labelIndices),
histogram_(histogram), totalCoverableSumVector_(nullptr) {

Expand Down Expand Up @@ -379,7 +379,7 @@ namespace boosting {
template<typename T>
class StatisticsSubset final :
public AbstractLabelWiseImmutableStatistics<StatisticVector, StatisticView, ScoreMatrix,
RuleEvaluationFactory>::AbstractStatisticsSubset<T> {
RuleEvaluationFactory>::template AbstractStatisticsSubset<T> {

private:

Expand All @@ -403,7 +403,7 @@ namespace boosting {
std::unique_ptr<IRuleEvaluation<StatisticVector>> ruleEvaluationPtr,
const T& labelIndices)
: AbstractLabelWiseImmutableStatistics<StatisticVector, StatisticView, ScoreMatrix,
RuleEvaluationFactory>::AbstractStatisticsSubset<T>(
RuleEvaluationFactory>::template AbstractStatisticsSubset<T>(
statistics, totalSumVector, std::move(ruleEvaluationPtr), labelIndices),
totalCoverableSumVector_(nullptr) {

Expand Down

0 comments on commit d12dfbc

Please sign in to comment.