[med-svn] [fastx-toolkit] 01/01: Remove <tr1/XXX> from source code.
Charles Plessy
plessy at moszumanska.debian.org
Wed Apr 23 23:23:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
plessy pushed a commit to tag 0.0.14-rc1-no-tr1
in repository fastx-toolkit.
commit 43b0a9c4953abeb747af09e49ca2f43d592973a1
Author: Assaf Gordon <assafgordon at gmail.com>
Date: Fri Nov 8 17:25:42 2013 +0200
Remove <tr1/XXX> 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 <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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fastx-toolkit.git
More information about the debian-med-commit
mailing list