Browse Source

interrogate: Fix typo

Sam Edwards 7 years ago
parent
commit
8d14705689
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogate/interrogateBuilder.cxx

+ 1 - 1
dtool/src/interrogate/interrogateBuilder.cxx

@@ -2943,7 +2943,7 @@ define_method(CPPInstance *function, InterrogateType &itype,
   // specifically flag get_class_type() as published.
   // specifically flag get_class_type() as published.
   bool force_publish = false;
   bool force_publish = false;
   if (function->get_simple_name() == "get_class_type" &&
   if (function->get_simple_name() == "get_class_type" &&
-      (function->_storage_class && CPPInstance::SC_static) != 0 &&
+      (function->_storage_class & CPPInstance::SC_static) != 0 &&
       function->_vis <= V_public) {
       function->_vis <= V_public) {
     force_publish = true;
     force_publish = true;
   }
   }