aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/global.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-10-15 17:17:35 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:07:21 -0300
commit894d7c725bc103919d38a6a491852e8cfc255d7d (patch)
tree3248ee2f00c4d8e566f695fc2a5402bfd4488cd0 /tests/samplebinding/global.h
parentdc18b27491b45577fe2868382f0f645a4127387b (diff)
Added test for overload decisor handling container dependencies.
Explaining with an example. Consider a function called "function" with two signatures accepting a list of Point and a list of PointF, respectively. Consider also that Point is implicitly convertible to PointF. void function(list<Point>&) void function(list<PointF>&) A list of Point should be checked before a list of PointF. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding/global.h')
-rw-r--r--tests/samplebinding/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/samplebinding/global.h b/tests/samplebinding/global.h
index 4677b814f..54a9795fa 100644
--- a/tests/samplebinding/global.h
+++ b/tests/samplebinding/global.h
@@ -26,6 +26,7 @@
#include "overload.h"
#include "pairuser.h"
#include "point.h"
+#include "pointf.h"
#include "pointerholder.h"
#include "polygon.h"
#include "privatector.h"