diff options
| author | Patrick Simianer <p@simianer.de> | 2013-11-13 18:12:10 +0100 | 
|---|---|---|
| committer | Patrick Simianer <p@simianer.de> | 2013-11-13 18:12:10 +0100 | 
| commit | 062d8af12f2bcad39c47b42295b69f44f878768f (patch) | |
| tree | a455fb5dd1a3c01ca3fa6e2ddd5e368040e32eaa /mteval/ter.cc | |
| parent | b8bf706976720527b455eb665fe94f907e372b65 (diff) | |
| parent | f83186887c94b2ff8b17aefcd0b395f116c09eb6 (diff) | |
merge w/ upstream
Diffstat (limited to 'mteval/ter.cc')
| -rw-r--r-- | mteval/ter.cc | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/mteval/ter.cc b/mteval/ter.cc index cacc5b00..19b90bbc 100644 --- a/mteval/ter.cc +++ b/mteval/ter.cc @@ -5,7 +5,12 @@  #include <iostream>  #include <limits>  #include <sstream> -#include <tr1/unordered_map> +#ifndef HAVE_OLD_CPP +# include <unordered_map> +#else +# include <tr1/unordered_map> +namespace std { using std::tr1::unordered_map; } +#endif  #include <set>  #include <valarray>  #include <boost/functional/hash.hpp> @@ -16,7 +21,6 @@ const bool ter_use_average_ref_len = true;  const int ter_short_circuit_long_sentences = -1;  using namespace std; -using namespace std::tr1;  struct COSTS {    static const float substitution; | 
