Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
3fda3107
Commit
3fda3107
authored
Jul 24, 2014
by
Fabio Bas
Browse files
Declare useless virtual dtor for polymorphic classes
parent
0f501762
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/filtertree.h
View file @
3fda3107
...
...
@@ -48,7 +48,7 @@ class FilterTreeBranch : public FilterTreeNode {
protected:
QList
<
T
>
childNodes
;
public:
~
FilterTreeBranch
();
virtual
~
FilterTreeBranch
();
FilterTreeNode
*
nodeAt
(
int
i
)
const
;
void
deleteAt
(
int
i
);
int
childCount
()
const
{
return
childNodes
.
size
();
}
...
...
@@ -102,6 +102,7 @@ public:
FilterItem
(
QString
trm
,
FilterItemList
*
parent
)
:
p
(
parent
),
term
(
trm
)
{}
virtual
~
FilterItem
()
{};
CardFilter
::
Attr
attr
()
const
{
return
p
->
attr
();
}
CardFilter
::
Type
type
()
const
{
return
p
->
type
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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