Skip to content

Commit 0bd6b91

Browse files
committed
Fix compilation error with GCC after r352791.
llvm-svn: 352795
1 parent e271889 commit 0bd6b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/IR/DerivedTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class FunctionCallee {
166166
// Allow implicit conversion from types which have a getFunctionType member
167167
// (e.g. Function and InlineAsm).
168168
template <typename T,
169-
typename U = std::enable_if<&T::getFunctionType != nullptr, void>>
169+
typename U = std::enable_if<(&T::getFunctionType != nullptr), void>>
170170
FunctionCallee(T *Fn)
171171
: FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {}
172172

0 commit comments

Comments
 (0)