dmd deprecation handling

This commit is contained in:
Adam D. Ruppe 2021-06-15 07:23:17 -04:00
parent 498a0b0756
commit 776d34f534
10 changed files with 85 additions and 40 deletions

View file

@ -39,7 +39,7 @@ struct CssSize {
int getPixels(int oneEm, int oneHundredPercent)
// out (ret) { assert(ret >= 0, to!string(ret) ~ " " ~ definition); }
body {
do {
if(definition.length == 0 || definition == "none")
return 0;