Remove wmi_container::get_menu_items().

No one needs to get at the underlying implementation anymore.
This commit is contained in:
JaMiT 2013-09-21 18:26:52 -05:00
parent 72f6b5ead6
commit 7aeacc554c

View File

@ -102,10 +102,8 @@ private:
/// A container of wml_menu_item.
class wmi_container{
public:
/// The underlying storage type.
typedef std::map<std::string, wml_menu_item*> map_t;
private:
/// The key for interaction with our iterators.
struct key {
/// Instructions for converting a map_t iterator to a wml_menu_item.
@ -135,7 +133,6 @@ public:
wmi_container & operator=(const wmi_container & that)
{ copy(that.wml_menu_items_); return *this; }
map_t & get_menu_items() { return wml_menu_items_; };
void clear_wmi();
/// Returns true if *this contains no data.
bool empty() const { return wml_menu_items_.empty(); }