File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed
Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -8,20 +8,20 @@ namespace cpp
88 {
99 static bool isEncoded (const String& string);
1010
11- static int getByteCount (const null& _ );
11+ static int getByteCount (const null&);
1212 static int getByteCount (const char32_t & codepoint);
1313 static int64_t getByteCount (const String& string);
1414
15- static int getCharCount (const null& _ );
15+ static int getCharCount (const null&);
1616 static int getCharCount (const char32_t & codepoint);
1717 static int64_t getCharCount (const String& string);
1818
19- static int encode (const null& _ , const cpp::marshal::View<uint8_t >& buffer);
19+ static int encode (const null&, const cpp::marshal::View<uint8_t >& buffer);
2020 static int encode (const char32_t & codepoint, const cpp::marshal::View<uint8_t >& buffer);
2121 static int64_t encode (const String& string, const cpp::marshal::View<uint8_t >& buffer);
2222
2323 static char32_t codepoint (const cpp::marshal::View<uint8_t >& buffer);
2424 static String decode (const cpp::marshal::View<uint8_t >& buffer);
2525 };
2626 }
27- }
27+ }
Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ namespace cpp
66 {
77 struct Utf8 final
88 {
9- static int getByteCount (const null& _ );
9+ static int getByteCount (const null&);
1010 static int getByteCount (const char32_t & codepoint);
1111 static int64_t getByteCount (const String& string);
1212
13- static int getCharCount (const null& _ );
13+ static int getCharCount (const null&);
1414 static int getCharCount (const char32_t & codepoint);
1515 static int64_t getCharCount (const String& string);
1616
17- static int encode (const null& _ , const cpp::marshal::View<uint8_t >& buffer);
17+ static int encode (const null&, const cpp::marshal::View<uint8_t >& buffer);
1818 static int encode (const char32_t & codepoint, const cpp::marshal::View<uint8_t >& buffer);
1919 static int64_t encode (const String& string, const cpp::marshal::View<uint8_t >& buffer);
2020
2121 static char32_t codepoint (const cpp::marshal::View<uint8_t >& buffer);
2222 static String decode (const cpp::marshal::View<uint8_t >& buffer);
2323 };
2424 }
25- }
25+ }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ bool cpp::encoding::Utf16::isEncoded(const String& string)
6868 return string.isUTF16Encoded ();
6969}
7070
71- int cpp::encoding::Utf16::getByteCount (const null& _ )
71+ int cpp::encoding::Utf16::getByteCount (const null&)
7272{
7373 hx::NullReference (" String" , false );
7474 return 0 ;
@@ -102,7 +102,7 @@ int64_t cpp::encoding::Utf16::getByteCount(const String& string)
102102 }
103103}
104104
105- int cpp::encoding::Utf16::getCharCount (const null& _ )
105+ int cpp::encoding::Utf16::getCharCount (const null&)
106106{
107107 hx::NullReference (" String" , false );
108108 return 0 ;
@@ -118,7 +118,7 @@ int64_t cpp::encoding::Utf16::getCharCount(const String& string)
118118 return getByteCount (string) / sizeof (char16_t );
119119}
120120
121- int cpp::encoding::Utf16::encode (const null& _ , const cpp::marshal::View<uint8_t >& buffer)
121+ int cpp::encoding::Utf16::encode (const null&, const cpp::marshal::View<uint8_t >& buffer)
122122{
123123 hx::NullReference (" String" , false );
124124 return 0 ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ namespace
2424 }
2525}
2626
27- int cpp::encoding::Utf8::getByteCount (const null& _ )
27+ int cpp::encoding::Utf8::getByteCount (const null&)
2828{
2929 hx::NullReference (" String" , false );
3030 return 0 ;
@@ -83,7 +83,7 @@ int64_t cpp::encoding::Utf8::getByteCount(const String& string)
8383#endif
8484}
8585
86- int cpp::encoding::Utf8::getCharCount (const null& _ )
86+ int cpp::encoding::Utf8::getCharCount (const null&)
8787{
8888 hx::NullReference (" String" , false );
8989 return 0 ;
@@ -99,7 +99,7 @@ int64_t cpp::encoding::Utf8::getCharCount(const String& string)
9999 return getByteCount (string) / sizeof (char );
100100}
101101
102- int cpp::encoding::Utf8::encode (const null& _ , const cpp::marshal::View<uint8_t >& buffer)
102+ int cpp::encoding::Utf8::encode (const null&, const cpp::marshal::View<uint8_t >& buffer)
103103{
104104 hx::NullReference (" String" , false );
105105 return 0 ;
You can’t perform that action at this time.
0 commit comments