Răsfoiți Sursa

interrogate: Fix typo

Sam Edwards 7 ani în urmă
părinte
comite
8d14705689
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.
   bool force_publish = false;
   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) {
     force_publish = true;
   }