[Uml-devel] kdesdk/umbrello/umbrello/codegenerators

Jonathan Riddell jri at jriddell.org
Sat Mar 8 15:08:02 UTC 2003


CVS commit by jriddell: 

remove assert() which caused a crash on a non-fatal error


  M +0 -6      phpwriter.cpp   1.4


--- kdesdk/umbrello/umbrello/codegenerators/phpwriter.cpp  #1.3:1.4
@@ -21,5 +21,4 @@
 #include <qregexp.h>
 #include <qstring.h>
-#include <cassert>
 
 #include "../umldoc.h"
@@ -109,9 +108,4 @@ void PhpWriter::writeClass(UMLConcept *c
         php << "class " << classname << (generalizations.count() > 0 ? " extends ":"");
         int i;
-
-        /*
-         * php does not support multiple inheritance
-         */
-        assert(generalizations.count() <= 1);
 
         for (a = generalizations.first(), i = generalizations.count();






More information about the umbrello-devel mailing list