diff --git a/string/public/nsCharTraits.h b/string/public/nsCharTraits.h index bf44eb689bdd..2fbedca8e60e 100644 --- a/string/public/nsCharTraits.h +++ b/string/public/nsCharTraits.h @@ -46,6 +46,7 @@ template struct nsCharTraits { typedef CharT char_type; + typedef char incompatible_char_type; static void @@ -209,7 +210,8 @@ struct nsCharTraits NS_SPECIALIZE_TEMPLATE struct nsCharTraits { - typedef char char_type; + typedef char char_type; + typedef PRUnichar incompatible_char_type; static void diff --git a/xpcom/ds/nsCharTraits.h b/xpcom/ds/nsCharTraits.h index bf44eb689bdd..2fbedca8e60e 100644 --- a/xpcom/ds/nsCharTraits.h +++ b/xpcom/ds/nsCharTraits.h @@ -46,6 +46,7 @@ template struct nsCharTraits { typedef CharT char_type; + typedef char incompatible_char_type; static void @@ -209,7 +210,8 @@ struct nsCharTraits NS_SPECIALIZE_TEMPLATE struct nsCharTraits { - typedef char char_type; + typedef char char_type; + typedef PRUnichar incompatible_char_type; static void diff --git a/xpcom/string/public/nsCharTraits.h b/xpcom/string/public/nsCharTraits.h index bf44eb689bdd..2fbedca8e60e 100644 --- a/xpcom/string/public/nsCharTraits.h +++ b/xpcom/string/public/nsCharTraits.h @@ -46,6 +46,7 @@ template struct nsCharTraits { typedef CharT char_type; + typedef char incompatible_char_type; static void @@ -209,7 +210,8 @@ struct nsCharTraits NS_SPECIALIZE_TEMPLATE struct nsCharTraits { - typedef char char_type; + typedef char char_type; + typedef PRUnichar incompatible_char_type; static void