Skip to content

Commit

Permalink
Fixed: Build error (non-const references to temporaries)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 16, 2013
1 parent 1eb8f98 commit 771e85b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/ui/zonedebug.cpp
Expand Up @@ -38,7 +38,7 @@

using namespace de;

static void drawRegion(memvolume_t &volume, Rectanglei &rect, size_t start,
static void drawRegion(memvolume_t &volume, Rectanglei const &rect, size_t start,
size_t size, float const color[4])
{
DENG2_ASSERT(start + size <= volume.size);
Expand Down Expand Up @@ -67,7 +67,7 @@ static void drawRegion(memvolume_t &volume, Rectanglei &rect, size_t start,
}
}

void Z_DebugDrawVolume(MemoryZonePrivateData *pd, memvolume_t *volume, Rectanglei &rect)
void Z_DebugDrawVolume(MemoryZonePrivateData *pd, memvolume_t *volume, Rectanglei const &rect)
{
float const opacity = .85f;
float const colAppStatic[4] = { 1, 1, 1, .65f };
Expand Down

0 comments on commit 771e85b

Please sign in to comment.