added qualifier to solve ambiguity with std::make_tuple

[SVN r53301]
This commit is contained in:
Joaquín M López Muñoz 2009-05-27 12:26:43 +00:00
parent 436ea292c6
commit 45adb9c08a

View File

@ -1,6 +1,6 @@
/* Boost.MultiIndex test for composite_key.
*
* Copyright 2003-2008 Joaquin M Lopez Munoz.
* Copyright 2003-2009 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
@ -637,9 +637,11 @@ void test_composite_key()
ch4=ch2; /* prevent unused var */
BOOST_CHECK(
ch1(ck6(xystr(0,0,"hello")))==ch1(make_tuple(std::string("hello"),0,0)));
ch1(ck6(xystr(0,0,"hello")))==
ch1(boost::make_tuple(std::string("hello"),0,0)));
BOOST_CHECK(
ch1(ck6(xystr(4,5,"world")))==ch1(make_tuple(std::string("world"),4,5)));
ch1(ck6(xystr(4,5,"world")))==
ch1(boost::make_tuple(std::string("world"),4,5)));
typedef boost::hash<composite_key_result<ckey_t3> > ckeyres_hash_t;