Skip to content

Commit

Permalink
STYLE: Remove empty ResourceProbe legacy function GetSystemInformation()
Browse files Browse the repository at this point in the history
Follow-up to:
"PERF: Remove SystemInformation data from ResourceProbe, fix issue InsightSoftwareConsortium#350"
Pull request InsightSoftwareConsortium#351
Commit 747f3d1, 2018-12-24
  • Loading branch information
N-Dekker authored and hjmjohnson committed Dec 13, 2021
1 parent a10264a commit fa549da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions Modules/Core/Common/include/itkResourceProbe.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ class ITK_TEMPLATE_EXPORT ResourceProbe
void
PrintJSONvar(std::ostream & os, const char * varName, T varValue, unsigned indent = 4, bool comma = true);

/** Obsolete member function from ITK 4.8 - 4.13. Does not do anything anymore. */
itkLegacyMacro(virtual void GetSystemInformation());

private:
ValueType m_StartValue;
ValueType m_TotalValue;
Expand Down
10 changes: 0 additions & 10 deletions Modules/Core/Common/include/itkResourceProbe.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -558,16 +558,6 @@ ResourceProbe<ValueType, MeanType>::PrintJSONSystemInformation(std::ostream & os
os << " }";
}


// This protected member function that was introduced with ITK 4.8 has been deprecated
// as of ITK 5.0. Please do not call or override this member function.
#if !defined(ITK_LEGACY_REMOVE)
template <typename ValueType, typename MeanType>
void
ResourceProbe<ValueType, MeanType>::GetSystemInformation()
{}
#endif

} // end namespace itk

#endif

0 comments on commit fa549da

Please sign in to comment.