summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-10-20 02:06:23 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-10-20 03:00:17 (GMT)
commitc2e949b700318b1632eed99b6343abc4c3bc658a (patch)
tree28f084b4587561a9502823e4512505716d1107f6 /Source/cmGlobalNinjaGenerator.h
parent1cfba13004c0f2cba512c78c64f160e221ca85ae (diff)
downloadCMake-c2e949b700318b1632eed99b6343abc4c3bc658a.zip
CMake-c2e949b700318b1632eed99b6343abc4c3bc658a.tar.gz
CMake-c2e949b700318b1632eed99b6343abc4c3bc658a.tar.bz2
cmGlobalNinjaGenerator: remove unnecessary virtual method
The implementation is the same and the called method used internally is `virtual`, so just make the call non-virtual.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 56a922c..d731b16 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -349,7 +349,7 @@ public:
virtual std::string OrderDependsTargetForTarget(
cmGeneratorTarget const* target, const std::string& config) const;
- virtual std::string OrderDependsTargetForTargetPrivate(
+ std::string OrderDependsTargetForTargetPrivate(
cmGeneratorTarget const* target, const std::string& config) const;
void AppendTargetOutputs(cmGeneratorTarget const* target,
@@ -741,9 +741,6 @@ public:
std::string OrderDependsTargetForTarget(
cmGeneratorTarget const* target, const std::string& config) const override;
- std::string OrderDependsTargetForTargetPrivate(
- cmGeneratorTarget const* target, const std::string& config) const override;
-
protected:
bool OpenBuildFileStreams() override;
void CloseBuildFileStreams() override;