Skip to content

Commit

Permalink
Merge pull request #2182 from wilzbach/mongo-deprecate
Browse files Browse the repository at this point in the history
Fix the std.digest.digest deprecation message
  • Loading branch information
s-ludwig authored Jul 13, 2018
2 parents c8bdb41 + 07599b0 commit e623d80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mongodb/vibe/db/mongo/settings.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ import vibe.db.mongo.flags : QueryFlags;
import vibe.inet.webform;

import std.conv : to;
import std.digest.digest : toHexString;
static if (__VERSION__ >= 2076)
import std.digest : toHexString;
else
import std.digest.digest : toHexString;
import std.digest.md : md5Of;
import std.algorithm : splitter, startsWith;
import std.string : icmp, indexOf, toLower;
Expand Down

0 comments on commit e623d80

Please sign in to comment.