summaryrefslogtreecommitdiff
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
commit113e71899b2d9d8737e9480165e41624e2a96a25 (patch)
treea35406ff6f51b19b7eefdbaca963e84721248a24
parent692019e8af6afaa046bb026a287dc52639cb8847 (diff)
compile fix on old versions of gcc with MPI enabled
-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;
}