Bug 603243 - Making nsTString_CharT(char_type c) constructor private to avoid accidental misusage.

This commit is contained in:
Atul Aggarwal 2011-11-16 19:42:03 +05:30
parent 4ee5f5c378
commit 6584c20f9e

View File

@ -66,13 +66,6 @@ class nsTString_CharT : public nsTSubstring_CharT
nsTString_CharT()
: substring_type() {}
explicit
nsTString_CharT( char_type c )
: substring_type()
{
Assign(c);
}
explicit
nsTString_CharT( const char_type* data, size_type length = size_type(-1) )
: substring_type()