summaryrefslogtreecommitdiff
path: root/include/llvm/Support/type_traits.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/type_traits.h')
-rw-r--r--include/llvm/Support/type_traits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/type_traits.h b/include/llvm/Support/type_traits.h
index 32736b4141..71f7655e2e 100644
--- a/include/llvm/Support/type_traits.h
+++ b/include/llvm/Support/type_traits.h
@@ -35,7 +35,7 @@ namespace dont_use
// important to make the is_class<T>::value idiom zero cost. it
// evaluates to a constant 1 or 0 depending on whether the
// parameter T is a class or not (respectively).
- template<typename T> char is_class_helper(void(T::*)(void));
+ template<typename T> char is_class_helper(void(T::*)());
template<typename T> double is_class_helper(...);
}