mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Audio: Fix code smells and issues found by static analysis
This fixes all current code smells, bugs and issues reported by SonarCloud static analysis. Other issues are almost exclusively false positives. This makes much code clearer, and some minor benefits in performance or bug evasion may be gained.
This commit is contained in:
parent
a757f3f421
commit
8af97d0ce7
Notes:
sideshowbarker
2024-07-18 01:06:05 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 8af97d0ce7
Pull-request: https://github.com/SerenityOS/serenity/pull/10931
12 changed files with 99 additions and 77 deletions
|
@ -78,8 +78,8 @@ public:
|
|||
RefPtr<Core::File> file() const { return m_plugin ? m_plugin->file() : nullptr; }
|
||||
|
||||
private:
|
||||
Loader(StringView path);
|
||||
Loader(const ByteBuffer& buffer);
|
||||
explicit Loader(StringView path);
|
||||
explicit Loader(const ByteBuffer& buffer);
|
||||
|
||||
mutable OwnPtr<LoaderPlugin> m_plugin;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue