diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 09:56:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 17:15:04 +0000 |
commit | 0aa5414015813eda46dbfd7c3bcf259485ac1968 (patch) | |
tree | ba552e8e27c00f0d2d49564ed3dd98b829b04186 /onlineupdate | |
parent | 13e0ec9f38736557d9b4737298ca9a858919e6e3 (diff) |
cppcheck: noExplicitConstructor
Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2
Reviewed-on: https://gerrit.libreoffice.org/21245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.h b/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.h index a54c7fdd10e2..8ece9408abab 100644 --- a/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.h +++ b/onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator.h @@ -123,7 +123,7 @@ private: #ifdef WNT struct VersionW { - VersionW(const wchar_t* aVersionStringW) + explicit VersionW(const wchar_t* aVersionStringW) { versionContentW = reinterpret_cast<wchar_t*>(wcsdup(aVersionStringW)); |