summaryrefslogtreecommitdiff
blob: e8168bb914383b7005f100eaaefe728e81ed4edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fix building with C++14, which errors out due to broken perfect forwarding signature.
See also: https://bugs.gentoo.org/show_bug.cgi?id=594544

--- a/src/tophat_reports.cpp
+++ b/src/tophat_reports.cpp
@@ -2705,7 +2705,7 @@
 				junction_stat.gtf_match = true;
 				junction_stat.accepted = true;
 
-				gtf_junctions.insert(make_pair<Junction, JunctionStats>(Junction(ref_id, left_coord, right_coord, antisense), junction_stat));
+				gtf_junctions.insert(make_pair(Junction(ref_id, left_coord, right_coord, antisense), junction_stat));
 			}
 		}
 		fprintf(stderr, "Loaded %d GFF junctions from %s.\n", (int)(gtf_junctions.size()), gtf_juncs.c_str());