diff options
author | thakis <thakis@chromium.org> | 2014-10-28 14:15:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-28 21:15:46 +0000 |
commit | 5a5927ddc660300b784bf1713ac648875ee6149f (patch) | |
tree | cb8072cb4b5a8c29d2ac1b563226fa3bb1107ecc /base/posix | |
parent | 9c5e1f31f785c3ff91ac8e94db65d7d01e6425e1 (diff) | |
download | chromium_src-5a5927ddc660300b784bf1713ac648875ee6149f.zip chromium_src-5a5927ddc660300b784bf1713ac648875ee6149f.tar.gz chromium_src-5a5927ddc660300b784bf1713ac648875ee6149f.tar.bz2 |
Replace a few typeofs with delctype.
No behavior change.
BUG=427584
TBR=phajdan
Review URL: https://codereview.chromium.org/683963002
Cr-Commit-Position: refs/heads/master@{#301710}
Diffstat (limited to 'base/posix')
-rw-r--r-- | base/posix/eintr_wrapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/posix/eintr_wrapper.h b/base/posix/eintr_wrapper.h index 854c43a..5a5dc75 100644 --- a/base/posix/eintr_wrapper.h +++ b/base/posix/eintr_wrapper.h @@ -25,7 +25,7 @@ #if defined(NDEBUG) #define HANDLE_EINTR(x) ({ \ - typeof(x) eintr_wrapper_result; \ + decltype(x) eintr_wrapper_result; \ do { \ eintr_wrapper_result = (x); \ } while (eintr_wrapper_result == -1 && errno == EINTR); \ @@ -36,7 +36,7 @@ #define HANDLE_EINTR(x) ({ \ int eintr_wrapper_counter = 0; \ - typeof(x) eintr_wrapper_result; \ + decltype(x) eintr_wrapper_result; \ do { \ eintr_wrapper_result = (x); \ } while (eintr_wrapper_result == -1 && errno == EINTR && \ @@ -47,7 +47,7 @@ #endif // NDEBUG #define IGNORE_EINTR(x) ({ \ - typeof(x) eintr_wrapper_result; \ + decltype(x) eintr_wrapper_result; \ do { \ eintr_wrapper_result = (x); \ if (eintr_wrapper_result == -1 && errno == EINTR) { \ |