From 3e6058078433089f145903d25e06dafadeee9629 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Wed, 21 Nov 2018 20:51:35 +0100 Subject: clang-tidy: Fix readability-static-accessed-through-instance Enable the check in .clang-tidy and fix all warnings. --- Source/cmServerProtocol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmServerProtocol.cxx') diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx index f051fd9b17..6dbfd1093d 100644 --- a/Source/cmServerProtocol.cxx +++ b/Source/cmServerProtocol.cxx @@ -244,7 +244,7 @@ bool cmServerProtocol1::DoActivate(const cmServerRequest& request, return false; } - const std::string cachePath = cm->FindCacheFile(buildDirectory); + const std::string cachePath = cmake::FindCacheFile(buildDirectory); if (cm->LoadCache(cachePath)) { cmState* state = cm->GetState(); -- cgit v1.2.1