File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,7 @@ thomasschaub
4545Trimble
4646Tim Boundy (gigaplex)
4747
48- Rami Abughazaleh (icnocop)
48+ Rami Abughazaleh (icnocop)
49+
50+ TastenTrick
51+ Christian Deneke (chris0x44)
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ using UtilCharInternal_t = signed char;
356356inline size_t count_utf8_to_utf16 (const std::string& s)
357357{
358358 const size_t sSize = s.size ();
359- auto sData = reinterpret_cast <const UtilCharInternal_t* const >(s.data ());
359+ auto const sData = reinterpret_cast <const UtilCharInternal_t*>(s.data ());
360360 size_t result{ sSize };
361361
362362 for (size_t index = 0 ; index < sSize ;)
@@ -441,7 +441,7 @@ utf16string __cdecl conversions::utf8_to_utf16(const std::string &s)
441441{
442442 // Save repeated heap allocations, use the length of resulting sequence.
443443 const size_t srcSize = s.size ();
444- auto srcData = reinterpret_cast <const UtilCharInternal_t* const >(s.data ());
444+ auto const srcData = reinterpret_cast <const UtilCharInternal_t*>(s.data ());
445445 utf16string dest (count_utf8_to_utf16 (s), L' \0 ' );
446446 utf16string::value_type* const destData = &dest[0 ];
447447 size_t destIndex = 0 ;
You can’t perform that action at this time.
0 commit comments