summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/RegularExpression.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-25 11:54:34 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-25 11:54:34 (GMT)
commitaff019f7a453e8bbb67f004d3164151305d0d23e (patch)
treef7e00ccad85d75d8595f3fd47e666ed50656c655 /Source/kwsys/RegularExpression.hxx.in
parenta1c6d7e9af5a241b1afa29b3f7459ee9ee4ec77a (diff)
parent780d9e070bec694c12a10162d64196073c6d2ba2 (diff)
downloadCMake-aff019f7a453e8bbb67f004d3164151305d0d23e.zip
CMake-aff019f7a453e8bbb67f004d3164151305d0d23e.tar.gz
CMake-aff019f7a453e8bbb67f004d3164151305d0d23e.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2019-07-25 (a24a6acb)
Diffstat (limited to 'Source/kwsys/RegularExpression.hxx.in')
-rw-r--r--Source/kwsys/RegularExpression.hxx.in18
1 files changed, 15 insertions, 3 deletions
diff --git a/Source/kwsys/RegularExpression.hxx.in b/Source/kwsys/RegularExpression.hxx.in
index b7b93f9..ed86418 100644
--- a/Source/kwsys/RegularExpression.hxx.in
+++ b/Source/kwsys/RegularExpression.hxx.in
@@ -407,8 +407,12 @@ private:
* Create an empty regular expression.
*/
inline RegularExpression::RegularExpression()
+ : regstart{}
+ , reganch{}
+ , regmust{}
+ , program{ 0 }
+ , progsize{}
{
- this->program = 0;
}
/**
@@ -416,8 +420,12 @@ inline RegularExpression::RegularExpression()
* compiles s.
*/
inline RegularExpression::RegularExpression(const char* s)
+ : regstart{}
+ , reganch{}
+ , regmust{}
+ , program{ 0 }
+ , progsize{}
{
- this->program = 0;
if (s) {
this->compile(s);
}
@@ -428,8 +436,12 @@ inline RegularExpression::RegularExpression(const char* s)
* compiles s.
*/
inline RegularExpression::RegularExpression(const std::string& s)
+ : regstart{}
+ , reganch{}
+ , regmust{}
+ , program{ 0 }
+ , progsize{}
{
- this->program = 0;
this->compile(s);
}