From 533cdfa850b3bc29bf7ce49bf83ba6225fefc7f2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 10 Jun 2011 21:11:03 +0900 Subject: [PATCH] Removed unnecessary template parameter from std::make_pair call. The patch was contributed from Dan Fandrich. --- src/Triplet.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Triplet.h b/src/Triplet.h index f94b5ca3..ef6ced6c 100644 --- a/src/Triplet.h +++ b/src/Triplet.h @@ -141,9 +141,7 @@ public: typename TupleNthType::type> operator()(const Tuple& tri) const { - return std::make_pair::type, - typename TupleNthType::type> - (TupleGet::get(tri), TupleGet::get(tri)); + return std::make_pair(TupleGet::get(tri), TupleGet::get(tri)); } };