Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Umbrello
Commits
aa52c15a
Commit
aa52c15a
authored
Oct 28, 2019
by
Ralf Habacker
Browse files
cppwriter: In case of interfaces, do not write a superfluous .cpp file
CCBUG:413519
parent
c3afcda6
Changes
1
Show whitespace changes
Inline
Side-by-side
umbrello/codegenerators/cpp/cppwriter.cpp
View file @
aa52c15a
...
...
@@ -123,7 +123,7 @@ void CppWriter::writeClass(UMLClassifier *c)
// Determine whether the implementation file is required.
// (It is not required if the class is an enumeration.)
bool
need_impl
=
true
;
if
(
c
->
baseType
()
==
UMLObject
::
ot_Enum
)
{
if
(
c
->
baseType
()
==
UMLObject
::
ot_Enum
||
c
->
isInterface
()
)
{
need_impl
=
false
;
}
if
(
need_impl
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment