diff options
author | Sean McBride <sean@rogue-research.com> | 2021-10-14 16:13:23 (GMT) |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2021-10-15 15:23:12 (GMT) |
commit | e2a4718d186d4848bae2beb926279ea334e0fef3 (patch) | |
tree | c5f6f7ed5526d131bc534cb6bd6a86c00361f917 /Source/cmSearchPath.h | |
parent | 315fc296e3c1ecddbf59a2144b0dff9a05c715ed (diff) | |
download | CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.zip CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.tar.gz CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.tar.bz2 |
Source: Fix Clang -Wdeprecated warnings
Applied C++ 'rule of three'.
Diffstat (limited to 'Source/cmSearchPath.h')
-rw-r--r-- | Source/cmSearchPath.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSearchPath.h b/Source/cmSearchPath.h index c15cb97..09f9722 100644 --- a/Source/cmSearchPath.h +++ b/Source/cmSearchPath.h @@ -26,6 +26,9 @@ public: cmSearchPath(cmFindCommon* findCmd = nullptr); ~cmSearchPath(); + cmSearchPath(const cmSearchPath&) = default; + cmSearchPath& operator=(const cmSearchPath&) = default; + const std::vector<std::string>& GetPaths() const { return this->Paths; } std::size_t size() const { return this->Paths.size(); } |