From a35f4cbbca7112cf889d2c37661494237482016f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 18 Nov 2024 19:20:12 -0500 Subject: [PATCH] cmGeneratorTarget: Remove unused ComputeLinkInterface signature --- Source/cmGeneratorTarget.h | 3 --- Source/cmGeneratorTarget_Link.cxx | 7 ------- 2 files changed, 10 deletions(-) diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 8ae98e8eac..93ad11919b 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -264,9 +264,6 @@ public: cmLinkInterface const* GetLinkInterface( const std::string& config, const cmGeneratorTarget* headTarget) const; - void ComputeLinkInterface(const std::string& config, - cmOptionalLinkInterface& iface, - const cmGeneratorTarget* head) const; enum class UseTo { diff --git a/Source/cmGeneratorTarget_Link.cxx b/Source/cmGeneratorTarget_Link.cxx index eaa56390d8..87c41b46de 100644 --- a/Source/cmGeneratorTarget_Link.cxx +++ b/Source/cmGeneratorTarget_Link.cxx @@ -683,13 +683,6 @@ cmLinkInterface const* cmGeneratorTarget::GetLinkInterface( return iface.Exists ? &iface : nullptr; } -void cmGeneratorTarget::ComputeLinkInterface( - const std::string& config, cmOptionalLinkInterface& iface, - cmGeneratorTarget const* headTarget) const -{ - this->ComputeLinkInterface(config, iface, headTarget, false); -} - void cmGeneratorTarget::ComputeLinkInterface( const std::string& config, cmOptionalLinkInterface& iface, cmGeneratorTarget const* headTarget, bool secondPass) const