summaryrefslogtreecommitdiff
path: root/klm/util/joint_sort.hh
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2014-01-27 22:18:14 -0800
committerKenneth Heafield <github@kheafield.com>2014-01-27 22:18:14 -0800
commit80d4acfb24ed0d72e22caafcc17fa4def686bd78 (patch)
treec1ac53703b6e1336055b20e5bd2bc52c7a4c4323 /klm/util/joint_sort.hh
parentb627e35758a8a13944424e811c5742a6d3dd526e (diff)
Another attempted fix at the sorting iterator for C++11
Diffstat (limited to 'klm/util/joint_sort.hh')
-rw-r--r--klm/util/joint_sort.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/klm/util/joint_sort.hh b/klm/util/joint_sort.hh
index 5589c558..b1ec48e2 100644
--- a/klm/util/joint_sort.hh
+++ b/klm/util/joint_sort.hh
@@ -90,7 +90,7 @@ template <class KeyIter, class ValueIter> class JointProxy {
}
friend void swap(JointProxy<KeyIter, ValueIter> first, JointProxy<KeyIter, ValueIter> second) {
- first.DeepSwap(second);
+ first.Inner().DeepSwap(second.Inner());
}
private: