refs #624 Use std alias traits.

This commit is contained in:
Mathew Sutcliffe
2016-03-20 21:50:41 +00:00
parent 23a7f9b719
commit a8fc899219
17 changed files with 47 additions and 47 deletions

View File

@@ -91,7 +91,7 @@ namespace BlackMisc
LockFreeReader &operator =(const LockFreeReader &) = default;
private:
friend class LockFree<typename std::remove_const<T>::type>;
friend class LockFree<std::remove_const_t<T>>;
LockFreeReader(std::shared_ptr<const T> ptr) : m_ptr(ptr) {}
std::shared_ptr<const T> m_ptr;