From 8efd4b537888bd66723224fc2bd9bbee166923d3 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Mon, 14 Feb 2022 21:08:36 +1100 Subject: cmake::GetDebugFindPkgOutput: Use consistent argument name The argument name used in the class declaration didn't match the one used in the implementation file. The one in the header appears to be a cut-n-paste from GetDebugFindOutput(), but the implementation makes it clear that "pkg" better infers what the argument represents than "var". --- Source/cmake.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmake.h b/Source/cmake.h index 1187be5..97444b8 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -488,7 +488,7 @@ public: //! Do we want debug output from the find commands during the cmake run. bool GetDebugFindOutput() const { return this->DebugFindOutput; } bool GetDebugFindOutput(std::string const& var) const; - bool GetDebugFindPkgOutput(std::string const& var) const; + bool GetDebugFindPkgOutput(std::string const& pkg) const; void SetDebugFindOutput(bool b) { this->DebugFindOutput = b; } void SetDebugFindOutputPkgs(std::string const& args); void SetDebugFindOutputVars(std::string const& args); -- cgit v0.12