summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-01-11 12:47:43 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-01-12 23:00:42 (GMT)
commit29112c9a695a8dce6486203d0415f17ac41d3a0b (patch)
tree1f680f6ea4ad26eacfc40a0cb5193584afc36ab9
parent6d333be14d23b9aaf4452189199134bd674ad395 (diff)
downloadCMake-29112c9a695a8dce6486203d0415f17ac41d3a0b.zip
CMake-29112c9a695a8dce6486203d0415f17ac41d3a0b.tar.gz
CMake-29112c9a695a8dce6486203d0415f17ac41d3a0b.tar.bz2
Autogen: Generators: Static function upper case rename
-rw-r--r--Source/cmQtAutoGenerators.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 2c9310e..57b9450 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -55,7 +55,7 @@ static std::string FindMatchingHeader(
return header;
}
-static std::string extractSubDir(const std::string& absPath,
+static std::string ExtractSubDir(const std::string& absPath,
const std::string& currentMoc)
{
std::string subDir;
@@ -699,7 +699,7 @@ bool cmQtAutoGenerators::ParseContentForMoc(
// finding the correct header, so we need to remove the moc_ part
basename = basename.substr(4);
const std::string mocSubDir =
- extractSubDir(scannedFileAbsPath, currentMoc);
+ ExtractSubDir(scannedFileAbsPath, currentMoc);
const std::string headerToMoc = FindMatchingHeader(
scannedFileAbsPath, mocSubDir, basename, headerExtensions);
@@ -732,7 +732,7 @@ bool cmQtAutoGenerators::ParseContentForMoc(
// Mode: Relaxed
if (!requiresMoc || basename != scannedFileBasename) {
const std::string mocSubDir =
- extractSubDir(scannedFileAbsPath, currentMoc);
+ ExtractSubDir(scannedFileAbsPath, currentMoc);
const std::string headerToMoc = FindMatchingHeader(
scannedFileAbsPath, mocSubDir, basename, headerExtensions);
if (!headerToMoc.empty()) {