summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-03-01 23:09:32 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-03-01 23:09:32 -0500
commit378ba2373374015c8de4b360a30227f072616c6c (patch)
tree07742fe5a426443700c857492b0eb2d5b6fe25a6 /utils
parentcc01f3b7c9b87928be91e8a89f233a07a183ac2e (diff)
compile fix on old versions of gcc with MPI enabled
Diffstat (limited to 'utils')
-rw-r--r--utils/fast_sparse_vector.h2
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;
}