Skip to content

Commit

Permalink
Initialize variables in shared static this()
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Jul 13, 2017
1 parent e79c871 commit d2b72f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodb/vibe/db/mongo/sasl.d
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private DigestType!SHA1 pbkdf2(const ubyte[] password, const ubyte[] salt, int i
return current;
}

static this()
shared static this()
{
g_rng = new SHA1HashMixerRNG();
}

0 comments on commit d2b72f8

Please sign in to comment.