Clang requires these be explicitly marked as templates

pull/851/head
Jesse Vincent 4 years ago
parent 614bc41a14
commit ceecd5d71b
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -59,12 +59,12 @@ namespace interface {
this->getSimulator()->log() << add_indent << n_overall_reports_ << " overall " << _ReportType::typeString() << " reports expected";
}
this->getSimulator()->log() << add_indent << this->getSimulator()->getNumTypedOverallReports<_ReportType>() << " overall " << _ReportType::typeString() << " reports encountered";
virtual void describeState(const char *add_indent = "") const override {
this->getSimulator()->log() << add_indent << this->getSimulator()->template getNumTypedOverallReports<_ReportType>() << " overall " << _ReportType::typeString() << " reports encountered";
}
virtual bool evalInternal() override {
return this->getSimulator()->getNumTypedOverallReports<_ReportType>() == n_overall_reports_;
return this->getSimulator()->template getNumTypedOverallReports<_ReportType>() == n_overall_reports_;
}
private:

@ -57,12 +57,12 @@ namespace interface {
this->getSimulator()->log() << add_indent << n_reports_ << " keyboard reports expected in cycle";
}
this->getSimulator()->log() << add_indent << this->getSimulator()->getNumTypedReportsInCycle<_ReportType>() << " keyboard reports encountered";
virtual void describeState(const char *add_indent = "") const override {
this->getSimulator()->log() << add_indent << this->getSimulator()->template getNumTypedReportsInCycle<_ReportType>() << " keyboard reports encountered";
}
virtual bool evalInternal() override {
return this->getSimulator()->getNumTypedReportsInCycle<_ReportType>() == n_reports_;
return this->getSimulator()->template getNumTypedReportsInCycle<_ReportType>() == n_reports_;
}
private:

Loading…
Cancel
Save