mirror of
https://github.com/boostorg/thread.git
synced 2026-01-23 06:02:14 +00:00
Added static cast in move of upgrade_lock to work with MSVC10 and g++4.5
[SVN r62717]
This commit is contained in:
@@ -489,7 +489,7 @@ namespace boost
|
||||
template<typename Mutex>
|
||||
inline upgrade_lock<Mutex>&& move(upgrade_lock<Mutex>&& ul)
|
||||
{
|
||||
return ul;
|
||||
return static_cast<upgrade_lock<Mutex>&&>(ul);
|
||||
}
|
||||
#endif
|
||||
template<typename Mutex>
|
||||
|
||||
Reference in New Issue
Block a user