Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
62b99a5f
Commit
62b99a5f
authored
May 24, 2014
by
Hugo Beauzée-Luyssen
Browse files
Fix build on clang
parent
cea9e956
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AlbumTrack.cpp
View file @
62b99a5f
...
@@ -51,7 +51,7 @@ AlbumTrackPtr AlbumTrack::create(sqlite3* dbConnection, unsigned int albumId, co
...
@@ -51,7 +51,7 @@ AlbumTrackPtr AlbumTrack::create(sqlite3* dbConnection, unsigned int albumId, co
static
const
std
::
string
req
=
"INSERT INTO "
+
policy
::
AlbumTrackTable
::
Name
static
const
std
::
string
req
=
"INSERT INTO "
+
policy
::
AlbumTrackTable
::
Name
+
"(title, track_number, album_id) VALUES(?, ?, ?)"
;
+
"(title, track_number, album_id) VALUES(?, ?, ?)"
;
if
(
_Cache
::
insert
(
dbConnection
,
self
,
req
,
name
,
trackNb
,
albumId
)
==
false
)
if
(
_Cache
::
insert
(
dbConnection
,
self
,
req
,
name
,
trackNb
,
albumId
)
==
false
)
return
false
;
return
nullptr
;
self
->
m_dbConnection
=
dbConnection
;
self
->
m_dbConnection
=
dbConnection
;
return
self
;
return
self
;
}
}
...
...
Write
Preview
Supports
Markdown
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