The Battle for Wesnoth  1.19.7+dev
Public Member Functions | List of all members
savegame::save_info_less_time Struct Reference

A structure for comparing to save_info objects based on their modified time. More...

#include <save_index.hpp>

Public Member Functions

bool operator() (const save_info &a, const save_info &b) const
 

Detailed Description

A structure for comparing to save_info objects based on their modified time.

If the times are equal, will order based on the name.

Definition at line 62 of file save_index.hpp.

Member Function Documentation

◆ operator()()

bool savegame::save_info_less_time::operator() ( const save_info a,
const save_info b 
) const

Definition at line 271 of file save_index.cpp.

References _(), b, savegame::save_info::modified(), and savegame::save_info::name().


The documentation for this struct was generated from the following files: