Ticket #34378: patch-hashset-dependent-template.diff
File patch-hashset-dependent-template.diff, 1.3 KB (added by gallafent, 12 years ago) |
---|
-
kjs/wtf/HashSet.h
old new 181 181 inline HashSet<Value, HashFunctions, Traits>::find(const T& value) 182 182 { 183 183 typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, Translator> Adapter; 184 return m_impl. find<T, Adapter>(value);184 return m_impl.template find<T, Adapter>(value); 185 185 } 186 186 187 187 template<typename Value, typename HashFunctions, typename Traits> … … 190 190 inline HashSet<Value, HashFunctions, Traits>::find(const T& value) const 191 191 { 192 192 typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, Translator> Adapter; 193 return m_impl. find<T, Adapter>(value);193 return m_impl.template find<T, Adapter>(value); 194 194 } 195 195 196 196 template<typename Value, typename HashFunctions, typename Traits> … … 198 198 inline bool HashSet<Value, HashFunctions, Traits>::contains(const T& value) const 199 199 { 200 200 typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, Translator> Adapter; 201 return m_impl. contains<T, Adapter>(value);201 return m_impl.template contains<T, Adapter>(value); 202 202 } 203 203 204 204 template<typename T, typename U, typename V>