mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
uppsrc: More C++23 fixes
This commit is contained in:
parent
1f8836c978
commit
15177768ac
2 changed files with 4 additions and 4 deletions
|
|
@ -195,7 +195,7 @@ String DbfStream::Field::Format(Value value, byte charset) const
|
|||
StringBuffer temp;
|
||||
temp.SetCount(4);
|
||||
Poke32le(~temp, (int)value);
|
||||
return temp;
|
||||
return String(temp);
|
||||
}
|
||||
|
||||
case '@': {
|
||||
|
|
@ -206,7 +206,7 @@ String DbfStream::Field::Format(Value value, byte charset) const
|
|||
temp.SetCount(8);
|
||||
Poke32le(~temp + 0, dt);
|
||||
Poke32le(~temp + 4, tm);
|
||||
return temp;
|
||||
return String(temp);
|
||||
}
|
||||
|
||||
case 'O': {
|
||||
|
|
@ -229,7 +229,7 @@ String DbfStream::Field::Format(Value value, byte charset) const
|
|||
temp[6] = s[1];
|
||||
temp[7] = s[0];
|
||||
#endif
|
||||
return temp;
|
||||
return String(temp);
|
||||
}
|
||||
|
||||
case 'L': {
|
||||
|
|
|
|||
Loading…
Reference in a new issue