Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
fd910bd5
Commit
fd910bd5
authored
Jan 06, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/upnp: use "override" instead of "virtual"
parent
c6086bed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Directory.cxx
src/db/plugins/upnp/Directory.cxx
+3
-3
UpnpDatabasePlugin.cxx
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
+3
-3
No files found.
src/db/plugins/upnp/Directory.cxx
View file @
fd910bd5
...
...
@@ -124,7 +124,7 @@ public:
}
protected
:
v
irtual
void
StartElement
(
const
XML_Char
*
name
,
const
XML_Char
**
attrs
)
v
oid
StartElement
(
const
XML_Char
*
name
,
const
XML_Char
**
attrs
)
override
{
if
(
object
.
type
!=
UPnPDirObject
::
Type
::
UNKNOWN
&&
tag_type
==
TAG_NUM_OF_ITEM_TYPES
)
{
...
...
@@ -188,7 +188,7 @@ protected:
}
}
v
irtual
void
EndElement
(
const
XML_Char
*
name
)
v
oid
EndElement
(
const
XML_Char
*
name
)
override
{
if
(
tag_type
!=
TAG_NUM_OF_ITEM_TYPES
)
{
assert
(
object
.
type
!=
UPnPDirObject
::
Type
::
UNKNOWN
);
...
...
@@ -212,7 +212,7 @@ protected:
state
=
NONE
;
}
v
irtual
void
CharacterData
(
const
XML_Char
*
s
,
int
len
)
v
oid
CharacterData
(
const
XML_Char
*
s
,
int
len
)
override
{
if
(
tag_type
!=
TAG_NUM_OF_ITEM_TYPES
)
{
assert
(
object
.
type
!=
UPnPDirObject
::
Type
::
UNKNOWN
);
...
...
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
View file @
fd910bd5
...
...
@@ -77,9 +77,9 @@ public:
static
Database
*
Create
(
EventLoop
&
loop
,
DatabaseListener
&
listener
,
const
ConfigBlock
&
block
);
v
irtual
v
oid
Open
()
override
;
v
irtual
v
oid
Close
()
override
;
virtual
const
LightSong
*
GetSong
(
const
char
*
uri_utf8
)
const
override
;
void
Open
()
override
;
void
Close
()
override
;
const
LightSong
*
GetSong
(
const
char
*
uri_utf8
)
const
override
;
void
ReturnSong
(
const
LightSong
*
song
)
const
override
;
void
Visit
(
const
DatabaseSelection
&
selection
,
...
...
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