fix bug 511144

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@286 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2005-10-05 18:45:10 +00:00
parent 3156804c37
commit 1550e02b62

View file

@ -208,11 +208,10 @@ namespace Loki
void swap(AssocVector& other) void swap(AssocVector& other)
{ {
using std::swap;
Base::swap(other); Base::swap(other);
MyCompare& me = *this; MyCompare& me = *this;
MyCompare& rhs = other; MyCompare& rhs = other;
swap(me, rhs); std::swap(me, rhs);
} }
void clear() void clear()