diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 10:38:05 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 08:45:45 -0500 |
commit | cdfc4e31953274be9b745614b4b7620d365a7b5e (patch) | |
tree | d730ed1a5258286efbd83ac84e4a24f075bfa2aa /Source/cmCMakePathCommand.cxx | |
parent | 808b17b1206dd70c7fbd676e8c24181cde537954 (diff) | |
download | cmake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.gz |
clang-tidy: fix `readability-qualified-auto` warnings
Diffstat (limited to 'Source/cmCMakePathCommand.cxx')
-rw-r--r-- | Source/cmCMakePathCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCMakePathCommand.cxx b/Source/cmCMakePathCommand.cxx index 5662a2f5a2..e14dce0625 100644 --- a/Source/cmCMakePathCommand.cxx +++ b/Source/cmCMakePathCommand.cxx @@ -149,7 +149,7 @@ public: bool getInputPath(const std::string& arg, cmExecutionStatus& status, std::string& path) { - auto def = status.GetMakefile().GetDefinition(arg); + const auto* def = status.GetMakefile().GetDefinition(arg); if (def == nullptr) { status.SetError("undefined variable for input path."); return false; |