ladybird/Libraries/LibPCIDB
Andreas Kling 2f3b901f7f AK: Make MappedFile heap-allocated and ref-counted
Let's adapt this class a bit better to how it's actually being used.

Instead of having valid/invalid states and storing an error in case
it's invalid, a MappedFile is now always valid, and the factory
function that creates it will return an OSError if mapping fails.
2021-01-10 16:49:13 +01:00
..
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Database.cpp AK: Make MappedFile heap-allocated and ref-counted 2021-01-10 16:49:13 +01:00
Database.h AK: Make MappedFile heap-allocated and ref-counted 2021-01-10 16:49:13 +01:00