mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Clean up combinations of buffered handshaking and future returns
This commit is contained in:
@@ -216,21 +216,6 @@ HandlerCall& HandlerCall::operator= (HandlerCall const& other) noexcept
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if BEAST_COMPILER_SUPPORTS_MOVE_SEMANTICS
|
|
||||||
HandlerCall::HandlerCall (HandlerCall&& other) noexcept
|
|
||||||
: m_call (other.m_call)
|
|
||||||
{
|
|
||||||
other.m_call = nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
HandlerCall& HandlerCall::operator= (HandlerCall&& other) noexcept
|
|
||||||
{
|
|
||||||
m_call = other.m_call;
|
|
||||||
other.m_call = nullptr;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool HandlerCall::isNull () const noexcept
|
bool HandlerCall::isNull () const noexcept
|
||||||
{
|
{
|
||||||
return m_call == nullptr;
|
return m_call == nullptr;
|
||||||
|
|||||||
@@ -33,9 +33,7 @@
|
|||||||
|
|
||||||
Supports these concepts:
|
Supports these concepts:
|
||||||
DefaultConstructible
|
DefaultConstructible
|
||||||
MoveConstructible (C++11)
|
|
||||||
CopyConstructible
|
CopyConstructible
|
||||||
MoveAssignable (C++11)
|
|
||||||
CopyAssignable
|
CopyAssignable
|
||||||
Destructible
|
Destructible
|
||||||
*/
|
*/
|
||||||
@@ -324,11 +322,6 @@ public:
|
|||||||
/** @{ */
|
/** @{ */
|
||||||
HandlerCall (HandlerCall const& other) noexcept;
|
HandlerCall (HandlerCall const& other) noexcept;
|
||||||
HandlerCall& operator= (HandlerCall const& other) noexcept;
|
HandlerCall& operator= (HandlerCall const& other) noexcept;
|
||||||
|
|
||||||
#if BEAST_COMPILER_SUPPORTS_MOVE_SEMANTICS
|
|
||||||
HandlerCall (HandlerCall&& other) noexcept;
|
|
||||||
HandlerCall& operator= (HandlerCall&& other) noexcept;
|
|
||||||
#endif
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user