From 69445f3dcb3dc763135016db49ac8cde28f80f7d Mon Sep 17 00:00:00 2001 From: nyabla <16510465+nyabla@users.noreply.github.com> Date: Fri, 7 Jan 2022 18:48:23 +0000 Subject: [PATCH] LibCore: Change a west const to an east const Just fixing a little typo I found to make sure that everything adheres to the style guide :^) --- Userland/Libraries/LibCore/ConfigFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibCore/ConfigFile.cpp b/Userland/Libraries/LibCore/ConfigFile.cpp index 525d215494..aed8a1e715 100644 --- a/Userland/Libraries/LibCore/ConfigFile.cpp +++ b/Userland/Libraries/LibCore/ConfigFile.cpp @@ -45,7 +45,7 @@ NonnullRefPtr ConfigFile::open(String const& filename, int fd) return adopt_ref(*new ConfigFile(filename, fd)); } -ConfigFile::ConfigFile(const String& filename, AllowWriting allow_altering) +ConfigFile::ConfigFile(String const& filename, AllowWriting allow_altering) : m_file(File::construct(filename)) { if (!m_file->open(allow_altering == AllowWriting::Yes ? OpenMode::ReadWrite : OpenMode::ReadOnly))