summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-02-14 10:08:36 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-02-14 10:12:44 (GMT)
commit8efd4b537888bd66723224fc2bd9bbee166923d3 (patch)
treead25d33a3df32c56e4223fa2bba85c0dfd6c1023
parent546922a57b73ce67c1599d37f77be5045bfa6b40 (diff)
downloadCMake-8efd4b537888bd66723224fc2bd9bbee166923d3.zip
CMake-8efd4b537888bd66723224fc2bd9bbee166923d3.tar.gz
CMake-8efd4b537888bd66723224fc2bd9bbee166923d3.tar.bz2
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".
-rw-r--r--Source/cmake.h2
1 files changed, 1 insertions, 1 deletions
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);