From 7e80d368b97d208975c730887b435ae2a6a08a07 Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Fri, 28 Apr 2023 12:45:30 +0200 Subject: [PATCH] STYLE: Remove empty ResourceProbe legacy function GetSystemInformation() Follow-up to: "PERF: Remove SystemInformation data from ResourceProbe, fix issue #350" Pull request https://github.com/InsightSoftwareConsortium/ITK/pull/351 Commit 747f3d143359cf15c3c4ed9e266125f96d198f8d, 2018-12-24 --- Modules/Core/Common/include/itkResourceProbe.h | 3 --- Modules/Core/Common/include/itkResourceProbe.hxx | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/Modules/Core/Common/include/itkResourceProbe.h b/Modules/Core/Common/include/itkResourceProbe.h index 7c937decc77..c2157792ebd 100644 --- a/Modules/Core/Common/include/itkResourceProbe.h +++ b/Modules/Core/Common/include/itkResourceProbe.h @@ -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; diff --git a/Modules/Core/Common/include/itkResourceProbe.hxx b/Modules/Core/Common/include/itkResourceProbe.hxx index 562856be6cb..c70a5bb24d0 100644 --- a/Modules/Core/Common/include/itkResourceProbe.hxx +++ b/Modules/Core/Common/include/itkResourceProbe.hxx @@ -593,16 +593,6 @@ ResourceProbe::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 -void -ResourceProbe::GetSystemInformation() -{} -#endif - } // end namespace itk #endif