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
9f7fd1fb
Commit
9f7fd1fb
authored
Dec 26, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/lazy, input/mms: add "override" keywords
Fixes -Winconsistent-missing-override (clang 3.6).
parent
940cab86
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
LazyDatabase.hxx
src/db/plugins/LazyDatabase.hxx
+1
-1
UpnpDatabasePlugin.cxx
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
+4
-2
MmsInputPlugin.cxx
src/input/plugins/MmsInputPlugin.cxx
+1
-1
No files found.
src/db/plugins/LazyDatabase.hxx
View file @
9f7fd1fb
...
@@ -43,7 +43,7 @@ public:
...
@@ -43,7 +43,7 @@ public:
virtual
const
LightSong
*
GetSong
(
const
char
*
uri_utf8
,
virtual
const
LightSong
*
GetSong
(
const
char
*
uri_utf8
,
Error
&
error
)
const
override
;
Error
&
error
)
const
override
;
v
irtual
void
ReturnSong
(
const
LightSong
*
song
)
const
;
v
oid
ReturnSong
(
const
LightSong
*
song
)
const
override
;
virtual
bool
Visit
(
const
DatabaseSelection
&
selection
,
virtual
bool
Visit
(
const
DatabaseSelection
&
selection
,
VisitDirectory
visit_directory
,
VisitDirectory
visit_directory
,
...
...
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
View file @
9f7fd1fb
...
@@ -85,7 +85,7 @@ public:
...
@@ -85,7 +85,7 @@ public:
virtual
void
Close
()
override
;
virtual
void
Close
()
override
;
virtual
const
LightSong
*
GetSong
(
const
char
*
uri_utf8
,
virtual
const
LightSong
*
GetSong
(
const
char
*
uri_utf8
,
Error
&
error
)
const
override
;
Error
&
error
)
const
override
;
v
irtual
void
ReturnSong
(
const
LightSong
*
song
)
const
;
v
oid
ReturnSong
(
const
LightSong
*
song
)
const
override
;
virtual
bool
Visit
(
const
DatabaseSelection
&
selection
,
virtual
bool
Visit
(
const
DatabaseSelection
&
selection
,
VisitDirectory
visit_directory
,
VisitDirectory
visit_directory
,
...
@@ -101,7 +101,9 @@ public:
...
@@ -101,7 +101,9 @@ public:
virtual
bool
GetStats
(
const
DatabaseSelection
&
selection
,
virtual
bool
GetStats
(
const
DatabaseSelection
&
selection
,
DatabaseStats
&
stats
,
DatabaseStats
&
stats
,
Error
&
error
)
const
override
;
Error
&
error
)
const
override
;
virtual
time_t
GetUpdateStamp
()
const
{
return
0
;}
time_t
GetUpdateStamp
()
const
override
{
return
0
;
}
protected
:
protected
:
bool
Configure
(
const
config_param
&
param
,
Error
&
error
);
bool
Configure
(
const
config_param
&
param
,
Error
&
error
);
...
...
src/input/plugins/MmsInputPlugin.cxx
View file @
9f7fd1fb
...
@@ -43,7 +43,7 @@ protected:
...
@@ -43,7 +43,7 @@ protected:
virtual
size_t
ThreadRead
(
void
*
ptr
,
size_t
size
,
virtual
size_t
ThreadRead
(
void
*
ptr
,
size_t
size
,
Error
&
error
)
override
;
Error
&
error
)
override
;
v
irtual
void
Close
()
{
v
oid
Close
()
override
{
mmsx_close
(
mms
);
mmsx_close
(
mms
);
}
}
};
};
...
...
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