commit | 1c0cf3101d330efbee49afc8a6dba210af500d45 | [log] [tgz] |
---|---|---|
author | Oleh Prypin <oprypin@webrtc.org> | Sun Aug 19 10:08:09 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 20 08:15:13 2018 |
tree | 11cc8fb4d460e083858fc7fd89da7e40c8b96457 | |
parent | 46c4e609396acdc8874aa18017c201c60dc19a5d [diff] |
Stop using typeof() GNU extension https://chromium.googlesource.com/chromium/src/+/6009a54aabbe95c77b5f0ca3f8ec8489d2b7093b switches away from -std=gnu++... Bug: chromium:427584 Change-Id: Ib9cb76ce6fb901727f696ded3944af0e510c030a Reviewed-on: https://webrtc-review.googlesource.com/94779 Commit-Queue: Oleh Prypin <oprypin@google.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24337}
diff --git a/modules/audio_device/linux/latebindingsymboltable_linux.h b/modules/audio_device/linux/latebindingsymboltable_linux.h index 1e28c22..57314a6 100644 --- a/modules/audio_device/linux/latebindingsymboltable_linux.h +++ b/modules/audio_device/linux/latebindingsymboltable_linux.h
@@ -158,7 +158,7 @@ // Returns a reference to the given late-binded symbol, with the correct type. #define LATESYM_GET(ClassName, inst, sym) \ - (*reinterpret_cast<typeof(&sym)>( \ + (*reinterpret_cast<__typeof__(&sym)>( \ (inst)->GetSymbol(LATESYM_INDEXOF(ClassName, sym)))) } // namespace adm_linux