summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFileLocation.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-26 12:26:05 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-31 21:18:43 (GMT)
commitb1cbba68ce44bf8d78a6e41ff465461f0abf83a9 (patch)
tree2eadc633a8b0d830e3e528cf2e9b6fd39675de9c /Source/cmSourceFileLocation.h
parent0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6 (diff)
downloadCMake-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.h3
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