commit | 98cd3cafd5d41329a15aa23da24e5bf306c013b5 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@chromium.org> | Thu Jun 14 22:26:55 2018 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Jun 16 06:15:09 2018 +0000 |
tree | 9a0685821fd68b71db94d8deeea90c21e16d7d98 | |
parent | 4459807feb2a57f5a34be2d4f364f3fc2f769f65 [diff] [blame] |
clang-format everything Change-Id: I37d07b604fe89b9a893503514ef9dc51347a23c6 Reviewed-on: https://gn-review.googlesource.com/1625 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Brett Wilson <brettw@chromium.org>
diff --git a/base/scoped_clear_errno.h b/base/scoped_clear_errno.h index 585f6f7..44a0c62 100644 --- a/base/scoped_clear_errno.h +++ b/base/scoped_clear_errno.h
@@ -15,9 +15,7 @@ // destruction puts the old value back. class ScopedClearErrno { public: - ScopedClearErrno() : old_errno_(errno) { - errno = 0; - } + ScopedClearErrno() : old_errno_(errno) { errno = 0; } ~ScopedClearErrno() { if (errno == 0) errno = old_errno_;