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
403612c6
Commit
403612c6
authored
Mar 17, 2020
by
Rosen Penev
Committed by
Max Kellermann
Mar 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[clang-tidy] run through performance checks
Signed-off-by:
Rosen Penev
<
rosenp@gmail.com
>
parent
7fe49cf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ZzipArchivePlugin.cxx
src/archive/plugins/ZzipArchivePlugin.cxx
+4
-2
GmeDecoderPlugin.cxx
src/decoder/plugins/GmeDecoderPlugin.cxx
+1
-1
No files found.
src/archive/plugins/ZzipArchivePlugin.cxx
View file @
403612c6
...
...
@@ -32,6 +32,8 @@
#include <zzip/zzip.h>
#include <utility>
struct
ZzipDir
{
ZZIP_DIR
*
const
dir
;
...
...
@@ -91,11 +93,11 @@ class ZzipInputStream final : public InputStream {
ZZIP_FILE
*
const
file
;
public
:
ZzipInputStream
(
const
std
::
shared_ptr
<
ZzipDir
>&
_dir
,
const
char
*
_uri
,
ZzipInputStream
(
std
::
shared_ptr
<
ZzipDir
>
_dir
,
const
char
*
_uri
,
Mutex
&
_mutex
,
ZZIP_FILE
*
_file
)
:
InputStream
(
_uri
,
_mutex
),
dir
(
_dir
),
file
(
_file
)
{
dir
(
std
::
move
(
_dir
)
),
file
(
_file
)
{
//we are seekable (but its not recommendent to do so)
seekable
=
true
;
...
...
src/decoder/plugins/GmeDecoderPlugin.cxx
View file @
403612c6
...
...
@@ -108,7 +108,7 @@ ParseContainerPath(Path path_fs)
}
static
Music_Emu
*
LoadGmeAndM3u
(
GmeContainerPath
container
)
{
LoadGmeAndM3u
(
const
GmeContainerPath
&
container
)
{
const
char
*
path
=
container
.
path
.
c_str
();
const
char
*
suffix
=
uri_get_suffix
(
path
);
...
...
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