fix compiler warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-06-29 22:03:56 +00:00
commit a9d5f49c4a
3 changed files with 4 additions and 4 deletions

View file

@ -186,8 +186,8 @@ class Allocate : public Dispatcher {
if (decl_match && returntype_match) {
// Found an identical method in the base class
bool this_wrapping_protected_members = is_member_director(n); // This should really check for dirprot rather than just being a director method
bool base_wrapping_protected_members = is_member_director(base); // This should really check for dirprot rather than just being a director method
bool this_wrapping_protected_members = is_member_director(n) ? true : false; // This should really check for dirprot rather than just being a director method
bool base_wrapping_protected_members = is_member_director(base) ? true : false; // This should really check for dirprot rather than just being a director method
bool both_have_public_access = is_public(n) && is_public(base);
bool both_have_protected_access = (is_protected(n) && this_wrapping_protected_members) && (is_protected(base) && base_wrapping_protected_members);
bool both_have_private_access = is_private(n) && is_private(base);