Files
serenity/Kernel/FileSystem/FATFS
Sönke Holz 5542998a79 AK+Kernel+Userland: Don't allow Vector copy constructors in the kernel
The copy constructors and copy assignment operators can't propagate
allocation failures.

As a replacement, introduce a new member function, Vector::clone() that
returns an ErrorOr<Vector>.

This commit replaces most usages of the Vector copy constructor by
either using .clone() or avoiding copies in the first place.
2025-11-22 19:51:20 +01:00
..