mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
fix bug in buffer
This commit is contained in:
parent
5374eaa128
commit
f6268ce62d
@ -41,7 +41,7 @@ buffer::buffer(char const & c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
buffer::buffer(buffer&& rhs)
|
buffer::buffer(buffer&& rhs)
|
||||||
: p_(nullptr) {
|
: buffer() {
|
||||||
swap(rhs);
|
swap(rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user