Skip to content

Commit

Permalink
Mark Activated from TraceOutput as an override of a method from Perfo…
Browse files Browse the repository at this point in the history
…rmanceMetrics

 /Users/runner/work/ThunderNanoServicesRDK/ThunderNanoServicesRDK/ThunderNanoServicesRDK/PerformanceMetrics/TraceOutput.cpp:161:10: error: 'Activated' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
    void Activated() 
         ^
/Users/runner/work/ThunderNanoServicesRDK/ThunderNanoServicesRDK/ThunderNanoServicesRDK/PerformanceMetrics/PerformanceMetrics.h:104:26: note: overridden virtual function is here
            virtual void Activated()  = 0;
                         ^
  • Loading branch information
VeithMetro authored Nov 13, 2024
1 parent d520fe5 commit 9a598a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PerformanceMetrics/TraceOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class MetricsTraceOuput : public PerformanceMetrics::IStateMetricsLogger {
}
}

void Activated()
void Activated() override
{
if( _memory != nullptr ) {
TRACE(Trace::Metric, (_T("Plugin %s activated, RSS: %llu"), _callsign.c_str(), _memory->Resident()));
Expand Down

0 comments on commit 9a598a3

Please sign in to comment.