diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-01 23:09:32 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-01 23:09:32 -0500 |
commit | 378ba2373374015c8de4b360a30227f072616c6c (patch) | |
tree | 07742fe5a426443700c857492b0eb2d5b6fe25a6 | |
parent | cc01f3b7c9b87928be91e8a89f233a07a183ac2e (diff) |
compile fix on old versions of gcc with MPI enabled
-rw-r--r-- | utils/fast_sparse_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fast_sparse_vector.h b/utils/fast_sparse_vector.h index 17fa47bf..d11be48f 100644 --- a/utils/fast_sparse_vector.h +++ b/utils/fast_sparse_vector.h @@ -363,7 +363,7 @@ class FastSparseVector { } ar & eff_size; while (it != this->end()) { - const std::pair<const std::string&, const T&> wire_pair(FD::Convert(it->first), it->second); + const std::pair<std::string, T> wire_pair(FD::Convert(it->first), it->second); ar & wire_pair; ++it; } |