Skip to content

Commit 43b0a9c

Browse files
committed
Remove <tr1/XXX> from source code.
This will require the following: ./configure CXXFLAGS="-std=c++11" To compile correctly.
1 parent 09c3996 commit 43b0a9c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

configure.ac

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ AC_PROG_CC
2121
AC_PROG_CXX
2222
AC_PROG_LIBTOOL
2323
AX_C_LONG_LONG
24-
AX_CXX_HEADER_STDCXX_TR1
25-
if test "$ax_cv_cxx_stdcxx_tr1" != yes; then
26-
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.])
27-
fi
2824

2925
PKG_CHECK_MODULES([GTEXTUTILS],[gtextutils])
3026

src/fastx_collapser/fastx_collapser.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ const char* usage=
4747
"\n";
4848

4949
FASTX fastx;
50-
#include <tr1/unordered_map>
51-
std::tr1::unordered_map<string,size_t> collapsed_sequences;
50+
#include <unordered_map>
51+
std::unordered_map<string,size_t> collapsed_sequences;
5252
std::list< pair<string,size_t> > sorted_collapsed_sequences ;
5353

5454
struct PrintCollapsedSequence

0 commit comments

Comments
 (0)