input/Error: add noexcept
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user