Ticket #1416: function_template.patch
File function_template.patch, 819 bytes (added by , 15 years ago) |
---|
-
function_template.hpp
125 125 126 126 { 127 127 FunctionObj* f; 128 129 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 130 #pragma warning (suppress : 4127) 131 #endif 128 132 if (function_allows_small_object_optimization<FunctionObj>::value) 129 133 f = reinterpret_cast<FunctionObj*>(&function_obj_ptr.data); 130 134 else … … 146 150 147 151 { 148 152 FunctionObj* f; 153 154 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 155 #pragma warning (suppress : 4127) 156 #endif 149 157 if (function_allows_small_object_optimization<FunctionObj>::value) 150 158 f = reinterpret_cast<FunctionObj*>(&function_obj_ptr.data); 151 159 else