summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/RegularExpression.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-06-01 16:54:13 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-01 16:54:13 (GMT)
commit81870f1159a7b2649b027a6c3f75eba555831488 (patch)
tree05eb767f2f2becb6480cfe348d08ebca4e1fc1cf /Source/kwsys/RegularExpression.hxx.in
parenteed0df951d95d48e7856107175a2baba212c3206 (diff)
parent3af8c7715b359affce99c575bdcb84ca87585bb2 (diff)
downloadCMake-81870f1159a7b2649b027a6c3f75eba555831488.zip
CMake-81870f1159a7b2649b027a6c3f75eba555831488.tar.gz
CMake-81870f1159a7b2649b027a6c3f75eba555831488.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2018-06-01 (8ef62b28)
Diffstat (limited to 'Source/kwsys/RegularExpression.hxx.in')
-rw-r--r--Source/kwsys/RegularExpression.hxx.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/kwsys/RegularExpression.hxx.in b/Source/kwsys/RegularExpression.hxx.in
index 92e4b36..b7b93f9 100644
--- a/Source/kwsys/RegularExpression.hxx.in
+++ b/Source/kwsys/RegularExpression.hxx.in
@@ -29,7 +29,7 @@
/* Disable useless Borland warnings. KWSys tries not to force things
on its includers, but there is no choice here. */
#if defined(__BORLANDC__)
-#pragma warn - 8027 /* function not inlined. */
+# pragma warn - 8027 /* function not inlined. */
#endif
namespace @KWSYS_NAMESPACE@ {
@@ -138,8 +138,9 @@ inline std::string RegularExpressionMatch::match(int n) const
if (this->startp[n] == 0) {
return std::string();
} else {
- return std::string(this->startp[n], static_cast<std::string::size_type>(
- this->endp[n] - this->startp[n]));
+ return std::string(
+ this->startp[n],
+ static_cast<std::string::size_type>(this->endp[n] - this->startp[n]));
}
}