summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/rectangle.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/guichan/include/guichan/rectangle.hpp
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadplus-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.hpp6
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.