|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76064 - trunk/libs/heap/test
From: tim_at_[hidden]
Date: 2011-12-19 11:04:38
Author: timblechmann
Date: 2011-12-19 11:04:37 EST (Mon, 19 Dec 2011)
New Revision: 76064
URL: http://svn.boost.org/trac/boost/changeset/76064
Log:
heap: minor c++11 tweak
Text files modified:
trunk/libs/heap/test/common_heap_tests.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/heap/test/common_heap_tests.hpp
==============================================================================
--- trunk/libs/heap/test/common_heap_tests.hpp (original)
+++ trunk/libs/heap/test/common_heap_tests.hpp 2011-12-19 11:04:37 EST (Mon, 19 Dec 2011)
@@ -65,7 +65,7 @@
void fill_emplace_q(pri_queue & q, data_container const & data)
{
for (unsigned int i = 0; i != data.size(); ++i) {
- auto value = data[i];
+ typename pri_queue::value_type value = data[i];
q.emplace(std::move(value));
}
}
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