Index: core/fxcrt/include/fx_string.h |
diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h |
index 617e02ee5a460dabea3e94ee3849ad2079e5ceba..b55fe509a54532b1ac65abeb9c3d57e1cb6cbdfd 100644 |
--- a/core/fxcrt/include/fx_string.h |
+++ b/core/fxcrt/include/fx_string.h |
@@ -159,8 +159,7 @@ class CFX_ByteString { |
CFX_ByteString(const FX_CHAR* ptr, FX_STRSIZE len); |
CFX_ByteString(const uint8_t* ptr, FX_STRSIZE len); |
- // TODO(tsepez): mark constructor as explicit. |
- CFX_ByteString(const CFX_ByteStringC& bstrc); |
+ explicit CFX_ByteString(const CFX_ByteStringC& bstrc); |
CFX_ByteString(const CFX_ByteStringC& bstrc1, const CFX_ByteStringC& bstrc2); |
~CFX_ByteString(); |