summaryrefslogtreecommitdiffstats
path: root/Source/cmString.hxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-12-06 21:52:39 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2018-12-15 09:51:47 (GMT)
commit32cb564bea57af007d03fa31d80a0177057fc901 (patch)
tree0badd6e8b6eeddc8a967ffa3fe3de158fb3e650d /Source/cmString.hxx
parent7ffa6bf99972a980d995081a66b858eaaca9db7e (diff)
downloadCMake-32cb564bea57af007d03fa31d80a0177057fc901.zip
CMake-32cb564bea57af007d03fa31d80a0177057fc901.tar.gz
CMake-32cb564bea57af007d03fa31d80a0177057fc901.tar.bz2
clang-tidy: Remove redundant member initializations
Diffstat (limited to 'Source/cmString.hxx')
-rw-r--r--Source/cmString.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmString.hxx b/Source/cmString.hxx
index 1623a43..e5ece52 100644
--- a/Source/cmString.hxx
+++ b/Source/cmString.hxx
@@ -625,8 +625,7 @@ private:
// Internal constructor for view of statically allocated string.
String(string_view v, Private)
- : string_()
- , view_(v)
+ : view_(v)
{
}