Index: core/fxcrt/include/fx_string.h |
diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h |
index df8afb386fcda314fa5a780f247b2defc0ae3c90..142f9372d0835e4f552dd03ced272d6acb65c2eb 100644 |
--- a/core/fxcrt/include/fx_string.h |
+++ b/core/fxcrt/include/fx_string.h |
@@ -46,8 +46,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(); |