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
3882c975
Commit
3882c975
authored
5 years ago
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs/io/AutoGunzipReader: add `noexcept`
parent
bf9f690c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AutoGunzipReader.cxx
src/fs/io/AutoGunzipReader.cxx
+1
-1
AutoGunzipReader.hxx
src/fs/io/AutoGunzipReader.hxx
+2
-2
No files found.
src/fs/io/AutoGunzipReader.cxx
View file @
3882c975
...
...
@@ -20,7 +20,7 @@
#include "AutoGunzipReader.hxx"
#include "GunzipReader.hxx"
AutoGunzipReader
::~
AutoGunzipReader
()
AutoGunzipReader
::~
AutoGunzipReader
()
noexcept
{
delete
gunzip
;
}
...
...
This diff is collapsed.
Click to expand it.
src/fs/io/AutoGunzipReader.hxx
View file @
3882c975
...
...
@@ -35,9 +35,9 @@ class AutoGunzipReader final : public Reader {
GunzipReader
*
gunzip
=
nullptr
;
public
:
explicit
AutoGunzipReader
(
Reader
&
_next
)
explicit
AutoGunzipReader
(
Reader
&
_next
)
noexcept
:
peek
(
_next
)
{}
~
AutoGunzipReader
();
~
AutoGunzipReader
()
noexcept
;
/* virtual methods from class Reader */
virtual
size_t
Read
(
void
*
data
,
size_t
size
)
override
;
...
...
This diff is collapsed.
Click to expand it.
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