mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 06:00:35 +03:00
unsignedToTempString: use the template version
This commit is contained in:
parent
b65799a8e7
commit
05c79e1af1
3 changed files with 5 additions and 5 deletions
|
@ -929,7 +929,7 @@ Parameters for the generator.
|
|||
|
||||
UnsignedStringBuf buf = void;
|
||||
string s = "MersenneTwisterEngine.seed: Input range didn't provide enough elements: Need ";
|
||||
s ~= unsignedToTempString(n, buf, 10) ~ " elements.";
|
||||
s ~= unsignedToTempString(n, buf) ~ " elements.";
|
||||
throw new Exception(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue