serenity/Userland
Lucas CHOLLET 18b7ddd0b5 AK: Rename the const overload of FixedMemoryStream::bytes()
Due to overload resolutions rules, this simple code provokes a crash:

ReadonlyBytes readonly_bytes{};
FixedMemoryStream stream{readonly_bytes};
ReadonlyBytes give_them_back{stream.bytes()};
    // -> Panics on VERIFY(m_writing_enabled);
    // but this is fine:
auto bytes = static_cast<FixedMemoryStream const&>(*stream).bytes()

If we need to be explicit about it, let's rename the overload instead of
adding that `static_cast`.
2023-07-27 14:40:00 +01:00
..
Applets Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Applications Browser+LibWebView: Run with the JavaScript bytecode VM by default 2023-07-25 20:00:46 +02:00
BuggieBox Userland: Teach the file utility about zip files 2023-07-11 17:48:57 +01:00
Demos LibGUI+Userland: Port StatusBar::text() and set_text functions to String 2023-06-15 13:53:22 +01:00
DevTools LibGUI+GMLPlayground: Set correct undo text for ReplaceAllTextCommand 2023-07-26 14:18:20 -04:00
DynamicLoader Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
Games Snake: Update snake skin color interactively while picking 2023-07-24 11:30:54 +03:30
Libraries AK: Rename the const overload of FixedMemoryStream::bytes() 2023-07-27 14:40:00 +01:00
Services FileOperation: Replace LibC rename() call with LibCore equivalent 2023-07-26 08:44:49 +02:00
Shell Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Utilities LibGfx: Add initial ISO BMFF parsing and a utility to print file info 2023-07-27 12:02:37 +01:00
CMakeLists.txt