Stop using typeof() GNU extension

6009a54aab
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}
This commit is contained in:
Oleh Prypin
2018-08-19 12:08:09 +02:00
committed by Commit Bot
parent 46c4e60939
commit 1c0cf3101d

View File

@ -158,7 +158,7 @@ class LateBindingSymbolTable {
// 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