diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-21 01:26:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-21 01:26:07 +0300 |
commit | 98dabed4de60bc86522632379f2499aecbae2b70 (patch) | |
tree | 48924b90447eb513f330c1e82d9afbab3719525e /src/gui/widgets/playerbox.h | |
parent | ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6 (diff) | |
download | plus-98dabed4de60bc86522632379f2499aecbae2b70.tar.gz plus-98dabed4de60bc86522632379f2499aecbae2b70.tar.bz2 plus-98dabed4de60bc86522632379f2499aecbae2b70.tar.xz plus-98dabed4de60bc86522632379f2499aecbae2b70.zip |
Fix compilation errors and warnings for another gcc 4.7 snapshot.
Diffstat (limited to 'src/gui/widgets/playerbox.h')
-rw-r--r-- | src/gui/widgets/playerbox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h index a066c104e..d2393ca08 100644 --- a/src/gui/widgets/playerbox.h +++ b/src/gui/widgets/playerbox.h @@ -25,6 +25,8 @@ #include <guichan/widgets/scrollarea.hpp> +#include "localconsts.h" + class Being; class ImageRect; @@ -40,7 +42,7 @@ class PlayerBox : public gcn::ScrollArea * Constructor. Takes the initial player character that this box should * display, which defaults to <code>NULL</code>. */ - PlayerBox(const Being *being = 0); + PlayerBox(const Being *being = nullptr); /** * Destructor. |