Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-05-28 19:11:44


Author: danieljames
Date: 2008-05-28 19:11:44 EDT (Wed, 28 May 2008)
New Revision: 45887
URL: http://svn.boost.org/trac/boost/changeset/45887

Log:
Add another test, mainly to avoid an unused parameter warning.

Text files modified:
   branches/unordered/trunk/libs/unordered/test/unordered/compile_tests.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/test/unordered/compile_tests.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/unordered/compile_tests.hpp (original)
+++ branches/unordered/trunk/libs/unordered/test/unordered/compile_tests.hpp 2008-05-28 19:11:44 EDT (Wed, 28 May 2008)
@@ -149,6 +149,8 @@
     typedef BOOST_DEDUCED_TYPENAME X::key_type key_type;
     BOOST_MPL_ASSERT((boost::is_same<value_type, std::pair<key_type const, T> >));
 
+ r.insert(std::pair<Key const, T>(k, v));
+
 #if defined(BOOST_HAS_RVALUE_REFS) && defined(BOOST_HAS_VARIADIC_TMPL)
     Key k_lvalue(k);
     T v_lvalue(v);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk