diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/guichan/include/guichan/rectangle.hpp | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/guichan/include/guichan/rectangle.hpp')
-rw-r--r-- | src/guichan/include/guichan/rectangle.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/guichan/include/guichan/rectangle.hpp b/src/guichan/include/guichan/rectangle.hpp index a4de652a4..0d4d64004 100644 --- a/src/guichan/include/guichan/rectangle.hpp +++ b/src/guichan/include/guichan/rectangle.hpp @@ -49,6 +49,8 @@ #include <iostream> +#include "localconsts.h" + namespace gcn { /** @@ -95,7 +97,7 @@ namespace gcn * @return True if the rectangles intersect, false otherwise. * @since 0.1.0 */ - bool isIntersecting(const Rectangle& rectangle) const; + bool isIntersecting(const Rectangle& rectangle) const A_WARN_UNUSED; /** * Checks if a point is inside the rectangle @@ -105,7 +107,7 @@ namespace gcn * @return True if the point is inside the rectangle. * @since 0.1.0 */ - bool isPointInRect(int x, int y) const; + bool isPointInRect(int x, int y) const A_WARN_UNUSED; /** * Output operator for output. |