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
45
45
Trimble
46
46
Tim Boundy (gigaplex)
47
47
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;
356
356
inline size_t count_utf8_to_utf16 (const std::string& s)
357
357
{
358
358
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 ());
360
360
size_t result{ sSize };
361
361
362
362
for (size_t index = 0 ; index < sSize ;)
@@ -441,7 +441,7 @@ utf16string __cdecl conversions::utf8_to_utf16(const std::string &s)
441
441
{
442
442
// Save repeated heap allocations, use the length of resulting sequence.
443
443
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 ());
445
445
utf16string dest (count_utf8_to_utf16 (s), L' \0 ' );
446
446
utf16string::value_type* const destData = &dest[0 ];
447
447
size_t destIndex = 0 ;
You can’t perform that action at this time.
0 commit comments