Skip to content

Commit

Permalink
Fixed: Warning about ineffective use of "const" in return value
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 19, 2013
1 parent def4e93 commit 4f3745c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doomsday/client/include/world/world.h
Expand Up @@ -135,7 +135,7 @@ class World
/**
* Returns the current world time.
*/
timespan_t const time() const;
timespan_t time() const;

#ifdef __CLIENT__
/**
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/world/world.cpp
Expand Up @@ -863,7 +863,7 @@ void World::advanceTime(timespan_t delta)
d->time += delta;
}

timespan_t const World::time() const
timespan_t World::time() const
{
return d->time;
}
Expand Down

0 comments on commit 4f3745c

Please sign in to comment.