Commits

David P. Nadlinger  committed b0bbc25 Draft

Add parens around &&.

Clearer, silences the Clang warning.

  • Participants
  • Parent commits d7b4cb2

Comments (0)

Files changed (1)

File generator/abstractmetalang.h

     // returns true if this class or its base classes have a
     // virtual destructor
     bool hasVirtualDestructor() const { return m_has_virtual_destructor
-        || m_base_class && m_base_class->hasVirtualDestructor(); }
+        || (m_base_class && m_base_class->hasVirtualDestructor()); }
 
     const AbstractMetaClass* destructorBase() const
     {