mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
AK: Make Buffered<T> non-copyable.
This commit is contained in:
parent
e64f43c3a7
commit
b33921531d
2 changed files with 38 additions and 12 deletions
|
@ -39,11 +39,18 @@ public:
|
|||
: m_result(res)
|
||||
{
|
||||
}
|
||||
|
||||
Result(ValueType && res)
|
||||
: m_result(move(res))
|
||||
{
|
||||
}
|
||||
Result(const ErrorType& error)
|
||||
: m_error(error)
|
||||
{
|
||||
}
|
||||
Result(ErrorType && error)
|
||||
: m_error(move(error))
|
||||
{
|
||||
}
|
||||
|
||||
Result(const ValueType& res, const ErrorType& error)
|
||||
: m_result(res)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue