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