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
7552f70c
Commit
7552f70c
authored
Sep 21, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gcc5' of
git://github.com/neheb/MPD
into master
parents
0acc398c
821d0899
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
ContentDirectoryService.cxx
src/lib/upnp/ContentDirectoryService.cxx
+1
-3
IPv6Address.hxx
src/net/IPv6Address.hxx
+1
-1
No files found.
src/lib/upnp/ContentDirectoryService.cxx
View file @
7552f70c
...
...
@@ -69,9 +69,7 @@ ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
const
char
*
s
=
ixmlwrap
::
getFirstElementValue
(
response
.
get
(),
"SearchCaps"
);
if
(
s
==
nullptr
||
*
s
==
0
)
/* we could just "return {}" here, but GCC 5 doesn't
understand that */
return
std
::
forward_list
<
std
::
string
>
();
return
{};
std
::
forward_list
<
std
::
string
>
result
;
for
(
const
auto
&
i
:
IterableSplitString
(
s
,
','
))
...
...
src/net/IPv6Address.hxx
View file @
7552f70c
...
...
@@ -178,7 +178,7 @@ public:
/**
* Is this an IPv4 address mapped inside struct sockaddr_in6?
*/
#if defined(__linux__)
&& !GCC_OLDER_THAN(5,0)
#if defined(__linux__)
constexpr
#endif
bool
IsV4Mapped
()
const
noexcept
{
...
...
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