diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-11 11:25:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-11 14:56:14 +0100 |
commit | 8a3120ced522357f53c97b051d0af6437c7a0316 (patch) | |
tree | 8b3d19f6a686d1767adb469a123b371ee8950d4a /o3tl | |
parent | ddaca012d2715e5270dfeef43452e07aa7a9508c (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id6291335945a8f10cef3afd1a2b3bae65fdf4562
Diffstat (limited to 'o3tl')
-rw-r--r-- | o3tl/qa/test-sorted_vector.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3tl/qa/test-sorted_vector.cxx b/o3tl/qa/test-sorted_vector.cxx index 5090dee50569..023d9deae8fa 100644 --- a/o3tl/qa/test-sorted_vector.cxx +++ b/o3tl/qa/test-sorted_vector.cxx @@ -22,7 +22,7 @@ class SwContent public: int x; - SwContent(int x_) : x(x_) {} + explicit SwContent(int x_) : x(x_) {} bool operator<( const SwContent &rCmp) const { |