Codechange: Use std::map instead of custom SmallMap.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include "tile_type.h"
|
||||
#include "widget_type.h"
|
||||
#include "core/smallvec_type.hpp"
|
||||
#include "core/smallmap_type.hpp"
|
||||
#include "string_type.h"
|
||||
|
||||
/**
|
||||
@@ -250,7 +249,7 @@ public:
|
||||
|
||||
ViewportData *viewport; ///< Pointer to viewport data, if present.
|
||||
const NWidgetCore *nested_focus; ///< Currently focused nested widget, or \c nullptr if no nested widget has focus.
|
||||
SmallMap<int, QueryString*> querystrings; ///< QueryString associated to WWT_EDITBOX widgets.
|
||||
std::map<int, QueryString*> querystrings; ///< QueryString associated to WWT_EDITBOX widgets.
|
||||
NWidgetBase *nested_root; ///< Root of the nested tree.
|
||||
NWidgetBase **nested_array; ///< Array of pointers into the tree. Do not access directly, use #Window::GetWidget() instead.
|
||||
uint nested_array_size; ///< Size of the nested array.
|
||||
|
Reference in New Issue
Block a user