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 committed Apr 28, 2023
1 parent 869b222 commit 7e80d36
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 @@ -177,9 +177,6 @@ class ITK_TEMPLATE_EXPORT ResourceProbe
void
PrintJSONvar(std::ostream & os, const char * varName, T varValue, unsigned int indent = 4, bool comma = true);

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

/** Cause the object to print itself out. */
virtual void
Print(std::ostream & os, Indent indent) const;
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 @@ -593,16 +593,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 7e80d36

Please sign in to comment.