From 43b0a9c4953abeb747af09e49ca2f43d592973a1 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Fri, 8 Nov 2013 17:25:42 +0200 Subject: [PATCH] Remove from source code. This will require the following: ./configure CXXFLAGS="-std=c++11" To compile correctly. --- configure.ac | 4 ---- src/fastx_collapser/fastx_collapser.cpp | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index f4d5e4e..328d4bb 100644 --- a/configure.ac +++ b/configure.ac @@ -21,10 +21,6 @@ AC_PROG_CC AC_PROG_CXX AC_PROG_LIBTOOL AX_C_LONG_LONG -AX_CXX_HEADER_STDCXX_TR1 -if test "$ax_cv_cxx_stdcxx_tr1" != yes; then - AC_MSG_ERROR([Your version of gcc does not support the 'std::tr1' standard. Recommended gcc version is 4.1.2 or later. Please use a newer gcc version, or try to download the pre-compiled binaries from the fastx-toolkit website.]) -fi PKG_CHECK_MODULES([GTEXTUTILS],[gtextutils]) diff --git a/src/fastx_collapser/fastx_collapser.cpp b/src/fastx_collapser/fastx_collapser.cpp index 6f90b01..aa79b58 100644 --- a/src/fastx_collapser/fastx_collapser.cpp +++ b/src/fastx_collapser/fastx_collapser.cpp @@ -47,8 +47,8 @@ const char* usage= "\n"; FASTX fastx; -#include -std::tr1::unordered_map collapsed_sequences; +#include +std::unordered_map collapsed_sequences; std::list< pair > sorted_collapsed_sequences ; struct PrintCollapsedSequence