storage/Interface: add "noexcept"
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
:base_fs(std::move(_base_fs)), reader(base_fs) {}
|
||||
|
||||
/* virtual methods from class StorageDirectoryReader */
|
||||
const char *Read() override;
|
||||
const char *Read() noexcept override;
|
||||
StorageFileInfo GetInfo(bool follow) override;
|
||||
};
|
||||
|
||||
@@ -156,7 +156,7 @@ SkipNameFS(PathTraitsFS::const_pointer_type name_fs) noexcept
|
||||
}
|
||||
|
||||
const char *
|
||||
LocalDirectoryReader::Read()
|
||||
LocalDirectoryReader::Read() noexcept
|
||||
{
|
||||
while (reader.ReadEntry()) {
|
||||
const Path name_fs = reader.GetEntry();
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user