input/Error: add `noexcept`
This commit is contained in:
parent
1f94cea889
commit
eefc0f5d80
|
@ -31,7 +31,7 @@
|
|||
#endif
|
||||
|
||||
bool
|
||||
IsFileNotFound(std::exception_ptr ep)
|
||||
IsFileNotFound(std::exception_ptr ep) noexcept
|
||||
{
|
||||
try {
|
||||
std::rethrow_exception(ep);
|
||||
|
|
|
@ -32,6 +32,6 @@
|
|||
*/
|
||||
gcc_pure
|
||||
bool
|
||||
IsFileNotFound(std::exception_ptr e);
|
||||
IsFileNotFound(std::exception_ptr e) noexcept;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue