2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-30 07:52:10 +00:00

Don't call boost::get qualified

[SVN r33286]
This commit is contained in:
Douglas Gregor
2006-03-09 16:23:36 +00:00
parent 0d6c5bb4e2
commit 4a159ba118

View File

@@ -135,11 +135,13 @@ public:
*/
template <class ExternalData>
inline void swap(ArrayBinaryTreeNode x, ExternalData& edata ) {
using boost::get;
value_type tmp = x.value();
/*swap external data*/
edata[ boost::get(id, tmp) ] = i;
edata[ boost::get(id, value()) ] = x.i;
edata[ get(id, tmp) ] = i;
edata[ get(id, value()) ] = x.i;
x.value() = value();
value() = tmp;