diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-06 00:09:38 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-06 00:27:26 +0100 |
commit | 616afb27c23def5661b3466d6fc86fd1c65c0082 (patch) | |
tree | f7d858815b413cc0d6df2e39d099eaa219fcbb7f | |
parent | c75511fffc77d517fbf854ec8bef791f055de44c (diff) | |
download | mana-616afb27c23def5661b3466d6fc86fd1c65c0082.tar.gz mana-616afb27c23def5661b3466d6fc86fd1c65c0082.tar.bz2 mana-616afb27c23def5661b3466d6fc86fd1c65c0082.tar.xz mana-616afb27c23def5661b3466d6fc86fd1c65c0082.zip |
Microoptimization in compile speed
No need to include localplayer.h from inventorywindow.h
-rw-r--r-- | src/gui/inventorywindow.cpp | 1 | ||||
-rw-r--r-- | src/gui/inventorywindow.h | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index fea86b81..e4896063 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -38,6 +38,7 @@ #include "../inventory.h" #include "../item.h" +#include "../localplayer.h" #include "../units.h" #include "../resources/iteminfo.h" diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index 45796e74..e1196f78 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -22,12 +22,12 @@ #ifndef INVENTORYWINDOW_H #define INVENTORYWINDOW_H -#include <guichan/actionlistener.hpp> -#include <guichan/selectionlistener.hpp> - #include "window.h" -#include "../localplayer.h" +#include "../inventory.h" + +#include <guichan/actionlistener.hpp> +#include <guichan/selectionlistener.hpp> class Item; class ItemContainer; |