forked from OSchip/llvm-project
Another stab at fixing http://llvm.org/bugs/show_bug.cgi?id=12007. I earlier missed that there are two common_type definitions and corrected only one of them.
llvm-svn: 150599
This commit is contained in:
parent
0bc5132457
commit
2aa9a38b67
|
@ -1165,7 +1165,7 @@ private:
|
|||
static _Up&& __u();
|
||||
static bool __f();
|
||||
public:
|
||||
typedef decltype(__f() ? __t() : __u()) type;
|
||||
typedef typename remove_reference<decltype(__f() ? __t() : __u())>::type type;
|
||||
};
|
||||
|
||||
template <class _Tp, class _Up, class ..._Vp>
|
||||
|
|
Loading…
Reference in New Issue