mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Kernel: Remove OOM unsafe DoubleBuffer constructor
Remove this dangerous and now unused constructor.
This commit is contained in:
parent
ca94a83337
commit
cbb263e350
2 changed files with 0 additions and 6 deletions
|
@ -17,7 +17,6 @@ namespace Kernel {
|
|||
class DoubleBuffer {
|
||||
public:
|
||||
[[nodiscard]] static OwnPtr<DoubleBuffer> try_create(size_t capacity = 65536);
|
||||
explicit DoubleBuffer(size_t capacity = 65536);
|
||||
[[nodiscard]] KResultOr<size_t> write(const UserOrKernelBuffer&, size_t);
|
||||
[[nodiscard]] KResultOr<size_t> write(const u8* data, size_t size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue