fs/io/BufferedReader: add "noexcept" to constructor

This commit is contained in:
Max Kellermann 2018-08-21 18:52:57 +02:00
parent d092a88a93
commit b143477774
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2003-2017 The Music Player Daemon Project
* Copyright 2003-2018 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify

View File

@ -1,5 +1,5 @@
/*
* Copyright 2003-2017 The Music Player Daemon Project
* Copyright 2003-2018 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@ -40,7 +40,7 @@ class BufferedReader {
unsigned line_number = 0;
public:
explicit BufferedReader(Reader &_reader)
explicit BufferedReader(Reader &_reader) noexcept
:reader(_reader), buffer(4096) {}
/**