Silence gcc 4.3 warning by removing const from const return type.
This commit is contained in:
parent
c20311777f
commit
2811126476
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ static bool fade_logo(game_display& screen, int xpos, int ypos)
|
|||
|
||||
|
||||
//! Read the file with the tips-of-the-day.
|
||||
static const void read_tips_of_day(config& tips_of_day)
|
||||
static void read_tips_of_day(config& tips_of_day)
|
||||
{
|
||||
tips_of_day.clear();
|
||||
LOG_CONFIG << "Loading tips of day\n";
|
||||
|
@ -145,7 +145,7 @@ static const void read_tips_of_day(config& tips_of_day)
|
|||
}
|
||||
|
||||
//! Go to the next tips-of-the-day
|
||||
static const void next_tip_of_day(config& tips_of_day, bool reverse = false)
|
||||
static void next_tip_of_day(config& tips_of_day, bool reverse = false)
|
||||
{
|
||||
// we just rotate the tip list, to avoid the need to keep track
|
||||
// of the current one, and keep it valid, cycle it, etc...
|
||||
|
|
Loading…
Add table
Reference in a new issue