storage/Interface: add "noexcept"

This commit is contained in:
Max Kellermann
2017-12-18 23:54:21 +01:00
parent 1d24dd3067
commit 093ca5d492
6 changed files with 11 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ public:
virtual ~SmbclientDirectoryReader();
/* virtual methods from class StorageDirectoryReader */
const char *Read() override;
const char *Read() noexcept override;
StorageFileInfo GetInfo(bool follow) override;
};
@@ -158,7 +158,7 @@ SmbclientDirectoryReader::~SmbclientDirectoryReader()
}
const char *
SmbclientDirectoryReader::Read()
SmbclientDirectoryReader::Read() noexcept
{
const std::lock_guard<Mutex> protect(smbclient_mutex);