Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/dmd/root/rmem.d
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ extern (C++) struct Mem
_isGCEnabled = false;
}

static void addRange(const(void)* p, size_t size) nothrow @nogc
static void addRange(void* p, size_t size) nothrow @nogc
{
if (isGCEnabled)
GC.addRange(p, size);
}

static void removeRange(const(void)* p) nothrow @nogc
static void removeRange(void* p) nothrow @nogc
{
if (isGCEnabled)
GC.removeRange(p);
Expand Down