unsignedToTempString: use the template version

This commit is contained in:
Andrei Alexandrescu 2020-07-26 14:24:31 -04:00 committed by The Dlang Bot
parent b65799a8e7
commit 05c79e1af1
3 changed files with 5 additions and 5 deletions

View file

@ -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);
}