fix missing noexcept

This commit is contained in:
Jinhao
2019-03-12 04:09:13 +08:00
parent beb87fe45b
commit b0392bfa3c
3 changed files with 12 additions and 4 deletions

View File

@@ -1010,7 +1010,7 @@ namespace nana { namespace experimental { namespace filesystem
return bytes;
}
std::uintmax_t file_size(const path& p, std::error_code& ec)
std::uintmax_t file_size(const path& p, std::error_code& ec) noexcept
{
#if defined(NANA_WINDOWS)
//Some compilation environment may fail to link to GetFileSizeEx