[Uml-devel] kdesdk/umbrello/umbrello/codegenerators
Ben Burton
bab at debian.org
Wed Jun 23 16:25:08 UTC 2004
CVS commit by benb:
Fix C++ code generator to use keyword "virtual" when declaring abstract operations.
M +1 -1 cppheadercodeoperation.cpp 1.13
--- kdesdk/umbrello/umbrello/codegenerators/cppheadercodeoperation.cpp #1.12:1.13
@@ -101,5 +101,5 @@ void CPPHeaderCodeOperation::updateMetho
// write as an abstract operation if explicitly stated OR if child of interface
if((isInterface || o->getAbstract()) && !isInlineMethod)
- startText += " = 0";
+ startText = "virtual " + startText + " = 0";
startText += (isInlineMethod ? " {" : ";");
More information about the umbrello-devel
mailing list