diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-26 12:26:05 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-31 21:18:43 (GMT) |
commit | b1cbba68ce44bf8d78a6e41ff465461f0abf83a9 (patch) | |
tree | 2eadc633a8b0d830e3e528cf2e9b6fd39675de9c /Source/cmSourceFileLocation.h | |
parent | 0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6 (diff) | |
download | CMake-b1cbba68ce44bf8d78a6e41ff465461f0abf83a9.zip CMake-b1cbba68ce44bf8d78a6e41ff465461f0abf83a9.tar.gz CMake-b1cbba68ce44bf8d78a6e41ff465461f0abf83a9.tar.bz2 |
cmSourceFileLocation: Make copyable and assignable.
This allows using it in containers and algorithms.
Diffstat (limited to 'Source/cmSourceFileLocation.h')
-rw-r--r-- | Source/cmSourceFileLocation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h index c83e8c0..82a62ab 100644 --- a/Source/cmSourceFileLocation.h +++ b/Source/cmSourceFileLocation.h @@ -34,6 +34,9 @@ public: * instance with an initial name. */ cmSourceFileLocation(cmMakefile const* mf, const std::string& name); + cmSourceFileLocation(); + cmSourceFileLocation(const cmSourceFileLocation& loc); + cmSourceFileLocation& operator=(const cmSourceFileLocation& loc); /** * Return whether the givne source file location could refers to the |