summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/RegularExpression.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-16 15:06:18 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-16 15:06:18 (GMT)
commitf43748e1dd656a4b9c5f2d59ece64618a51efba5 (patch)
treeada810555a08b905bac22d546f07ade1ed944369 /Source/kwsys/RegularExpression.hxx.in
parentb18b370aab5cfc51d5aaac5aa90f14b86642da78 (diff)
downloadCMake-f43748e1dd656a4b9c5f2d59ece64618a51efba5.zip
CMake-f43748e1dd656a4b9c5f2d59ece64618a51efba5.tar.gz
CMake-f43748e1dd656a4b9c5f2d59ece64618a51efba5.tar.bz2
ENH: Add assignment operator to KWSys RegularExpression.
Diffstat (limited to 'Source/kwsys/RegularExpression.hxx.in')
-rw-r--r--Source/kwsys/RegularExpression.hxx.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/kwsys/RegularExpression.hxx.in b/Source/kwsys/RegularExpression.hxx.in
index 5780c21..a681e11 100644
--- a/Source/kwsys/RegularExpression.hxx.in
+++ b/Source/kwsys/RegularExpression.hxx.in
@@ -234,6 +234,11 @@ public:
inline kwsys_stl::string::size_type end() const;
/**
+ * Copy the given regular expression.
+ */
+ RegularExpression& operator= (const RegularExpression& rxp);
+
+ /**
* Returns true if two regular expressions have the same
* compiled program for pattern matching.
*/