From defa583eba994aacc1b0e4f910bfe73da889d79c Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 28 Feb 2015 16:58:02 +0000 Subject: [PATCH] Fix template param name. --- include/boost/type_traits/integral_constant.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/type_traits/integral_constant.hpp b/include/boost/type_traits/integral_constant.hpp index aa23eee..235c2e8 100644 --- a/include/boost/type_traits/integral_constant.hpp +++ b/include/boost/type_traits/integral_constant.hpp @@ -59,8 +59,8 @@ namespace boost{ // This helper function is just to disable type-punning // warnings from GCC: // - template - static T& dereference(T* p) { return *p; } + template + static U& dereference(U* p) { return *p; } operator const mpl::integral_c& ()const {