From fea9c0a8518eae18c1c6ac843afec695021388e8 Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 28 Jul 2017 18:23:35 +0200 Subject: [PATCH] Fix CppCheck in rstlvstring.h /libretroshare/src/serialiser/rstlvstring.h:40: warning: Cppcheck(noExplicitConstructor): Class 'RsTlvStringSet' has a constructor with 1 argument that is not explicit. --- libretroshare/src/serialiser/rstlvstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/serialiser/rstlvstring.h b/libretroshare/src/serialiser/rstlvstring.h index 9408668c5..9c22ee939 100644 --- a/libretroshare/src/serialiser/rstlvstring.h +++ b/libretroshare/src/serialiser/rstlvstring.h @@ -37,7 +37,7 @@ class RsTlvStringSet: public RsTlvItem { public: - RsTlvStringSet(uint16_t type); +explicit RsTlvStringSet(uint16_t type); virtual ~RsTlvStringSet() { return; } virtual uint32_t TlvSize() const; virtual void TlvClear();