empty() should be noexcept
parent
dfc95fb6eb
commit
7cd42186a7
|
@ -880,7 +880,7 @@ struct path {
|
|||
* The path is actually never truly empty, but `.` is considered an
|
||||
* empty path.
|
||||
*/
|
||||
bool empty() const {
|
||||
bool empty() const noexcept {
|
||||
return (p_path == ".");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue