Fix deprecation warning of std.digest

std.digest.digest got renamed in 2.076.0
https://dlang.org/changelog/2.076.0.html#std-digest-package
This commit is contained in:
WebFreak001 2019-03-30 17:58:36 +01:00
parent 32861ae74d
commit 4997fb4ad3

View file

@ -444,7 +444,7 @@ struct DBusAny {
valueStr = boolean ? "true" : "false"; valueStr = boolean ? "true" : "false";
break; break;
case 'a': case 'a':
import std.digest.digest : toHexString; import std.digest : toHexString;
if (signature == ['y']) { if (signature == ['y']) {
valueStr = "binary(" ~ binaryData.toHexString ~ ')'; valueStr = "binary(" ~ binaryData.toHexString ~ ')';