diff --git a/src/kaleidoscope/simulator/interface/actions/AssertNumOverallReportsEquals.h b/src/kaleidoscope/simulator/interface/actions/AssertNumOverallReportsEquals.h index 9f0a2854..0899e48d 100644 --- a/src/kaleidoscope/simulator/interface/actions/AssertNumOverallReportsEquals.h +++ b/src/kaleidoscope/simulator/interface/actions/AssertNumOverallReportsEquals.h @@ -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: diff --git a/src/kaleidoscope/simulator/interface/actions/generic_report/AssertCycleGeneratesNReports.h b/src/kaleidoscope/simulator/interface/actions/generic_report/AssertCycleGeneratesNReports.h index 9b58b2e9..82428a56 100644 --- a/src/kaleidoscope/simulator/interface/actions/generic_report/AssertCycleGeneratesNReports.h +++ b/src/kaleidoscope/simulator/interface/actions/generic_report/AssertCycleGeneratesNReports.h @@ -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: