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
a727150c
Commit
a727150c
authored
Sep 04, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/simple/Song: remove StringView constructor
parent
949916cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
Song.cxx
src/db/plugins/simple/Song.cxx
+0
-7
Song.hxx
src/db/plugins/simple/Song.hxx
+0
-2
No files found.
src/db/plugins/simple/Song.cxx
View file @
a727150c
...
...
@@ -23,13 +23,6 @@
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "fs/Traits.hxx"
#include "util/StringView.hxx"
inline
Song
::
Song
(
StringView
_uri
,
Directory
&
_parent
)
noexcept
:
parent
(
_parent
),
uri
(
_uri
.
data
,
_uri
.
size
)
{
}
Song
::
Song
(
DetachedSong
&&
other
,
Directory
&
_parent
)
noexcept
:
tag
(
std
::
move
(
other
.
WritableTag
())),
...
...
src/db/plugins/simple/Song.hxx
View file @
a727150c
...
...
@@ -97,8 +97,6 @@ struct Song {
Song
(
U
&&
_uri
,
Directory
&
_parent
)
noexcept
:
parent
(
_parent
),
uri
(
std
::
forward
<
U
>
(
_uri
))
{}
Song
(
StringView
_uri
,
Directory
&
parent
)
noexcept
;
Song
(
DetachedSong
&&
other
,
Directory
&
_parent
)
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