Base: fix google-explicit-constructor
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
class StrX
|
||||
{
|
||||
public:
|
||||
StrX(const XMLCh* const toTranscode);
|
||||
explicit StrX(const XMLCh* const toTranscode);
|
||||
~StrX();
|
||||
|
||||
/// Getter method
|
||||
@@ -105,7 +105,7 @@ inline const char* StrX::c_str() const
|
||||
class StrXUTF8
|
||||
{
|
||||
public:
|
||||
StrXUTF8(const XMLCh* const toTranscode);
|
||||
explicit StrXUTF8(const XMLCh* const toTranscode);
|
||||
|
||||
/// Getter method
|
||||
const char* c_str() const;
|
||||
@@ -143,7 +143,7 @@ class XStr
|
||||
{
|
||||
public:
|
||||
/// Constructors and Destructor
|
||||
XStr(const char* const toTranscode);
|
||||
explicit XStr(const char* const toTranscode);
|
||||
~XStr();
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ inline const XMLCh* XStr::unicodeForm() const
|
||||
class XUTF8Str
|
||||
{
|
||||
public:
|
||||
XUTF8Str(const char* const fromTranscode);
|
||||
explicit XUTF8Str(const char* const fromTranscode);
|
||||
~XUTF8Str();
|
||||
|
||||
/// Getter method
|
||||
|
||||
Reference in New Issue
Block a user