Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed May 31, 2024
1 parent b66ddf6 commit 35c9edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workspace-d/source/workspaced/index_format.d
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ struct ModuleDefinition

private static ulong hashFields(Args...)()
{
import std.digest.crc : CRC64ISO;
import std.bitmanip;
import std.digest.crc : CRC64ISO;

CRC64ISO crc;
crc.put((cast(uint) Args.length).nativeToLittleEndian);
Expand Down Expand Up @@ -565,7 +565,7 @@ private static struct SumTypePackProxy
{
import msgpack;

static void serialize(T)(ref Packer p, ref in T sumtype)
static void serialize(T)(ref Packer p, in T sumtype)
{
static assert(__traits(identifier, sumtype.tupleof[1]) == "tag");
p.pack(sumtype.tupleof[1]);
Expand Down

0 comments on commit 35c9edc

Please sign in to comment.