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
952ff420
Commit
952ff420
authored
Nov 16, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/upnp/Callback: make "evp" parameter const
parent
150b16ec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Callback.hxx
src/lib/upnp/Callback.hxx
+1
-1
Discovery.cxx
src/lib/upnp/Discovery.cxx
+1
-1
Discovery.hxx
src/lib/upnp/Discovery.hxx
+1
-1
No files found.
src/lib/upnp/Callback.hxx
View file @
952ff420
...
...
@@ -40,7 +40,7 @@ public:
return
*
(
UpnpCallback
*
)
cookie
;
}
virtual
int
Invoke
(
Upnp_EventType
et
,
void
*
evp
)
=
0
;
virtual
int
Invoke
(
Upnp_EventType
et
,
const
void
*
evp
)
=
0
;
};
#endif
src/lib/upnp/Discovery.cxx
View file @
952ff420
...
...
@@ -182,7 +182,7 @@ UPnPDeviceDirectory::OnByeBye(const Upnp_Discovery *disco)
// Example: ContentDirectories appearing and disappearing from the network
// We queue a task for our worker thread(s)
int
UPnPDeviceDirectory
::
Invoke
(
Upnp_EventType
et
,
void
*
evp
)
UPnPDeviceDirectory
::
Invoke
(
Upnp_EventType
et
,
const
void
*
evp
)
{
switch
(
et
)
{
case
UPNP_DISCOVERY_SEARCH_RESULT
:
...
...
src/lib/upnp/Discovery.hxx
View file @
952ff420
...
...
@@ -157,7 +157,7 @@ private:
int
OnByeBye
(
const
Upnp_Discovery
*
disco
);
/* virtual methods from class UpnpCallback */
virtual
int
Invoke
(
Upnp_EventType
et
,
void
*
evp
)
override
;
virtual
int
Invoke
(
Upnp_EventType
et
,
const
void
*
evp
)
override
;
};
...
...
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