Skip to content

Commit

Permalink
Remove <tr1/XXX> from source code.
Browse files Browse the repository at this point in the history
This will require the following:
  ./configure CXXFLAGS="-std=c++11"
To compile correctly.
  • Loading branch information
agordon committed Nov 8, 2013
1 parent 09c3996 commit 43b0a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down
4 changes: 2 additions & 2 deletions src/fastx_collapser/fastx_collapser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const char* usage=
"\n";

FASTX fastx;
#include <tr1/unordered_map>
std::tr1::unordered_map<string,size_t> collapsed_sequences;
#include <unordered_map>
std::unordered_map<string,size_t> collapsed_sequences;
std::list< pair<string,size_t> > sorted_collapsed_sequences ;

struct PrintCollapsedSequence
Expand Down

0 comments on commit 43b0a9c

Please sign in to comment.