diff options
author | Eugene Sandulenko | 2019-10-14 21:30:17 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-14 21:31:25 +0200 |
commit | 5acaaed860dd206528726462eb72e2273e1988e2 (patch) | |
tree | d739a31f0f00003f75c351a46c56b4e9a5dc0e9d /graphics/macgui/macwindowmanager.h | |
parent | dfc0a5127e354ea959edc508db2316505785d85e (diff) | |
download | scummvm-rg350-5acaaed860dd206528726462eb72e2273e1988e2.tar.gz scummvm-rg350-5acaaed860dd206528726462eb72e2273e1988e2.tar.bz2 scummvm-rg350-5acaaed860dd206528726462eb72e2273e1988e2.zip |
GRAPHICS: MACGUI: Crash-proof window management.
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r-- | graphics/macgui/macwindowmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h index f288a09fd8..1719bee317 100644 --- a/graphics/macgui/macwindowmanager.h +++ b/graphics/macgui/macwindowmanager.h @@ -23,7 +23,7 @@ #ifndef GRAPHICS_MACGUI_MACWINDOWMANAGER_H #define GRAPHICS_MACGUI_MACWINDOWMANAGER_H -#include "common/array.h" +#include "common/hashmap.h" #include "common/list.h" #include "common/events.h" @@ -243,7 +243,7 @@ public: private: Common::List<BaseMacWindow *> _windowStack; - Common::Array<BaseMacWindow *> _windows; + Common::HashMap<uint, BaseMacWindow *> _windows; Common::List<BaseMacWindow *> _windowsToRemove; bool _needsRemoval; |