summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderDirectories.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-22 23:02:39 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-27 14:37:41 (GMT)
commit7647f6afa46b6b5020cc1d93b3f75d3358a28f8a (patch)
treedfd7acf9932285277a56c39462d80d8fda0d8655 /Source/cmOrderDirectories.cxx
parent5286110d6f106e03ee6c5bdeea48d62674656c9f (diff)
downloadCMake-7647f6afa46b6b5020cc1d93b3f75d3358a28f8a.zip
CMake-7647f6afa46b6b5020cc1d93b3f75d3358a28f8a.tar.gz
CMake-7647f6afa46b6b5020cc1d93b3f75d3358a28f8a.tar.bz2
Add CM_OVERRIDE to some functions
Run clang-tidy's modernize-use-override checker. This checker must have issues in version 3.8. It has way too little matches. And it adds override to destructors. Revert the changes on the destructors and change override to CM_OVERRIDE.
Diffstat (limited to 'Source/cmOrderDirectories.cxx')
-rw-r--r--Source/cmOrderDirectories.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx
index 00606c7..20f2246 100644
--- a/Source/cmOrderDirectories.cxx
+++ b/Source/cmOrderDirectories.cxx
@@ -157,7 +157,7 @@ public:
}
}
- virtual void Report(std::ostream& e)
+ void Report(std::ostream& e) CM_OVERRIDE
{
e << "runtime library [";
if (this->SOName.empty()) {
@@ -168,7 +168,7 @@ public:
e << "]";
}
- virtual bool FindConflict(std::string const& dir);
+ bool FindConflict(std::string const& dir) CM_OVERRIDE;
private:
// The soname of the shared library if it is known.
@@ -212,12 +212,12 @@ public:
{
}
- virtual void Report(std::ostream& e)
+ void Report(std::ostream& e) CM_OVERRIDE
{
e << "link library [" << this->FileName << "]";
}
- virtual bool FindConflict(std::string const& dir);
+ bool FindConflict(std::string const& dir) CM_OVERRIDE;
};
bool cmOrderDirectoriesConstraintLibrary::FindConflict(std::string const& dir)