summarylogtreecommitdiffstats
path: root/make_pair.patch
diff options
context:
space:
mode:
authorChristian Krause2016-06-02 11:33:06 +0200
committerChristian Krause2016-06-02 11:33:06 +0200
commit4bb5f7f538b0640f41d78651cbef939ac46b91c7 (patch)
tree4778c4ab1bd6e673f412822fdd5480898e00a556 /make_pair.patch
parent1058cf08d5e6449bf7bf9d4b44b3e0883169d069 (diff)
downloadaur-4bb5f7f538b0640f41d78651cbef939ac46b91c7.tar.gz
fix make_pair issue
Diffstat (limited to 'make_pair.patch')
-rw-r--r--make_pair.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/make_pair.patch b/make_pair.patch
new file mode 100644
index 000000000000..44b71d1059ab
--- /dev/null
+++ b/make_pair.patch
@@ -0,0 +1,24 @@
+diff -uBw -aur tophat-2.1.1/src/juncs_db.cpp tophat-2.1.1-patched/src/juncs_db.cpp
+--- tophat-2.1.1/src/juncs_db.cpp 2016-02-14 19:21:17.354079000 +0100
++++ tophat-2.1.1-patched/src/juncs_db.cpp 2016-06-02 11:26:34.097425159 +0200
+@@ -338,7 +338,7 @@
+ uint32_t left_coord = atoi(scan_left_coord);
+ uint32_t right_coord = atoi(scan_right_coord);
+ bool antisense = *orientation == '-';
+- junctions.insert(make_pair<Junction, JunctionStats>(Junction(ref_id, left_coord, right_coord, antisense), JunctionStats()));
++ junctions.insert(make_pair(Junction(ref_id, left_coord, right_coord, antisense), JunctionStats()));
+ }
+ }
+
+diff -uBw -aur tophat-2.1.1/src/tophat_reports.cpp tophat-2.1.1-patched/src/tophat_reports.cpp
+--- tophat-2.1.1/src/tophat_reports.cpp 2016-02-23 22:20:44.320710000 +0100
++++ tophat-2.1.1-patched/src/tophat_reports.cpp 2016-06-02 11:26:22.057239478 +0200
+@@ -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());