forked from OSchip/llvm-project
Remove reference from common_type definition. It looks like a recent clang decltype implementation got fixed/improved and exposed this. Fixes http://llvm.org/bugs/show_bug.cgi?id=12007.
llvm-svn: 150581
This commit is contained in:
parent
f571cde869
commit
425e44d192
|
@ -1144,7 +1144,7 @@ private:
|
|||
static _Up __u();
|
||||
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||
public:
|
||||
typedef decltype(true ? __t() : __u()) type;
|
||||
typedef typename remove_reference<decltype(true ? __t() : __u())>::type type;
|
||||
};
|
||||
|
||||
#else // _LIBCPP_HAS_NO_VARIADICS
|
||||
|
|
Loading…
Reference in New Issue