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
078839c7
Commit
078839c7
authored
Dec 26, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
archive/zzip: convert struct to class
parent
90cc32f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ZzipArchivePlugin.cxx
src/archive/plugins/ZzipArchivePlugin.cxx
+3
-2
No files found.
src/archive/plugins/ZzipArchivePlugin.cxx
View file @
078839c7
...
...
@@ -85,11 +85,12 @@ ZzipArchiveFile::Visit(ArchiveVisitor &visitor)
/* single archive handling */
struct
ZzipInputStream
final
:
public
InputStream
{
class
ZzipInputStream
final
:
public
InputStream
{
std
::
shared_ptr
<
ZzipDir
>
dir
;
ZZIP_FILE
*
file
;
ZZIP_FILE
*
const
file
;
public
:
ZzipInputStream
(
const
std
::
shared_ptr
<
ZzipDir
>
_dir
,
const
char
*
_uri
,
Mutex
&
_mutex
,
Cond
&
_cond
,
ZZIP_FILE
*
_file
)
...
...
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