Ticket #6081: diffs

File diffs, 835 bytes (added by Maxim Kartashev <maxim.kartashev@…>, 11 years ago)

Fix for this ticket

Line 
1diff --git a/boost/unordered/unordered_map.hpp b/boost/unordered/unordered_map.hpp
2index 86a6fc6..c385125 100644
3--- a/boost/unordered/unordered_map.hpp
4+++ b/boost/unordered/unordered_map.hpp
5@@ -295,7 +295,7 @@ namespace boost
6 }
7 #else
8
9- #if !BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x5100))
10+ #if !BOOST_WORKAROUND(__SUNPRO_CC, < 0x5110)
11 std::pair<iterator, bool> emplace(value_type const& v = value_type())
12 {
13 return boost::unordered_detail::pair_cast<iterator, bool>(
14@@ -850,7 +850,7 @@ namespace boost
15 }
16 #else
17
18- #if !BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x5100))
19+ #if !BOOST_WORKAROUND(__SUNPRO_CC, < 0x5110)
20 iterator emplace(value_type const& v = value_type())
21 {
22 return iterator(table_.emplace(v));