Add missing noexcept declaration to operation_cancelled::what().

This commit is contained in:
Lewis Baker 2017-07-17 07:40:35 +09:30
parent 773a4be858
commit 528ba691e6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ namespace cppcoro
: std::exception()
{}
const char* what() const override { return "operation cancelled"; }
const char* what() const noexcept override { return "operation cancelled"; }
};
}