mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Revert "EASY: Companion to https://github.com/dlang/druntime/pull/3167/"
This commit is contained in:
parent
2f18e0d0c1
commit
b65799a8e7
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ class UTFException : UnicodeException
|
|||
size_t line = __LINE__, Throwable next = null) @safe pure nothrow
|
||||
{
|
||||
UnsignedStringBuf buf = void;
|
||||
msg ~= " (at index " ~ unsignedToTempString(index, buf) ~ ")";
|
||||
msg ~= " (at index " ~ unsignedToTempString(index, buf, 10) ~ ")";
|
||||
super(msg, index, file, line, next);
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ class UTFException : UnicodeException
|
|||
{
|
||||
UnsignedStringBuf buf = void;
|
||||
result ~= ' ';
|
||||
auto h = unsignedToTempString!16(i, buf);
|
||||
auto h = unsignedToTempString(i, buf, 16);
|
||||
if (h.length == 1)
|
||||
result ~= '0';
|
||||
result ~= h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue