Преглед на файлове

Removed unnecessary template parameter from std::make_pair call.

The patch was contributed from Dan Fandrich.
Tatsuhiro Tsujikawa преди 14 години
родител
ревизия
533cdfa850
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      src/Triplet.h

+ 1 - 3
src/Triplet.h

@@ -141,9 +141,7 @@ public:
             typename TupleNthType<Tuple, N2>::type>
   operator()(const Tuple& tri) const
   {
-    return std::make_pair<typename TupleNthType<Tuple, N1>::type,
-                          typename TupleNthType<Tuple, N2>::type>
-      (TupleGet<N1>::get(tri), TupleGet<N2>::get(tri));
+    return std::make_pair(TupleGet<N1>::get(tri), TupleGet<N2>::get(tri));
   }
 };