From: Jonathan Wakely Date: Sat, 12 Nov 2016 20:28:55 +0000 (+0000) Subject: * src/filesystem/ops.cc (is_empty): Fix typo in exception message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5485c81829208cac61de59deccdaae8293584cda;p=gcc.git * src/filesystem/ops.cc (is_empty): Fix typo in exception message. From-SVN: r242341 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4cc16b9ffd7..c53f0ce10ff 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2016-11-12 Jonathan Wakely + * src/filesystem/ops.cc (is_empty): Fix typo in exception message. + * include/std/future (future_error): Fix public typo to private. 2016-11-11 Jonathan Wakely diff --git a/libstdc++-v3/src/filesystem/ops.cc b/libstdc++-v3/src/filesystem/ops.cc index 8ed0a105dfa..0dcb1b410fc 100644 --- a/libstdc++-v3/src/filesystem/ops.cc +++ b/libstdc++-v3/src/filesystem/ops.cc @@ -1054,7 +1054,7 @@ fs::is_empty(const path& p) error_code ec; bool e = is_empty(p, ec); if (ec) - _GLIBCXX_THROW_OR_ABORT(filesystem_error("cannot check is file is empty", + _GLIBCXX_THROW_OR_ABORT(filesystem_error("cannot check if file is empty", p, ec)); return e; }