summaryrefslogtreecommitdiffstats
path: root/RegularExpression.hxx.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2019-10-30 13:16:39 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-30 13:17:30 (GMT)
commitfe6725a1f7c055b920508e7179fbc21a38cd37d3 (patch)
treedb8531018b4be5c81ddd525cbb7f6f77af2a88ed /RegularExpression.hxx.in
parent3327c0402a1ce31615c7ad22c5ff5d5330fb75da (diff)
downloadCMake-fe6725a1f7c055b920508e7179fbc21a38cd37d3.zip
CMake-fe6725a1f7c055b920508e7179fbc21a38cd37d3.tar.gz
CMake-fe6725a1f7c055b920508e7179fbc21a38cd37d3.tar.bz2
KWSys 2019-10-30 (43131a7c)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 43131a7c283dd6f198a2318a25e546a97ac356b3 (master). Upstream Shortlog ----------------- Brad King (1): cdd52ce1 RegularExpression: Initialize RegularExpressionMatch arrays fully Todd Martin (1): 569a1aed Encoding: Add ToWindowsExtendedPath support for wide string
Diffstat (limited to 'RegularExpression.hxx.in')
-rw-r--r--RegularExpression.hxx.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/RegularExpression.hxx.in b/RegularExpression.hxx.in
index df7eb45..0c2366b 100644
--- a/RegularExpression.hxx.in
+++ b/RegularExpression.hxx.in
@@ -70,10 +70,10 @@ private:
* \brief Creates an invalid match object
*/
inline RegularExpressionMatch::RegularExpressionMatch()
+ : startp{}
+ , endp{}
+ , searchstring{}
{
- startp[0] = nullptr;
- endp[0] = nullptr;
- searchstring = nullptr;
}
/**