LibCore: Extract Stream::OpenMode conversion helper into static function

This commit is contained in:
kleines Filmröllchen 2022-04-10 18:17:31 +02:00 committed by Andreas Kling
commit 1b67e19bd6
Notes: sideshowbarker 2024-07-17 12:07:40 +09:00
2 changed files with 19 additions and 12 deletions

View file

@ -205,6 +205,8 @@ public:
virtual ~File() override { close(); }
static int open_mode_to_options(OpenMode mode);
private:
File(OpenMode mode)
: m_mode(mode)