mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Everywhere: Run clang-format
This commit is contained in:
committed by
Linus Groh
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/086969277e Pull-request: https://github.com/SerenityOS/serenity/pull/12321 Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/bgianfo ✅
@@ -16,12 +16,12 @@ namespace HackStudio {
|
||||
|
||||
class ProjectFile : public RefCounted<ProjectFile> {
|
||||
public:
|
||||
static NonnullRefPtr<ProjectFile> construct_with_name(const String& name)
|
||||
static NonnullRefPtr<ProjectFile> construct_with_name(String const& name)
|
||||
{
|
||||
return adopt_ref(*new ProjectFile(name));
|
||||
}
|
||||
|
||||
const String& name() const { return m_name; }
|
||||
String const& name() const { return m_name; }
|
||||
bool could_render_text() const { return m_could_render_text; }
|
||||
|
||||
GUI::TextDocument& document() const;
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
void horizontal_scroll_value(int);
|
||||
|
||||
private:
|
||||
explicit ProjectFile(const String& name);
|
||||
explicit ProjectFile(String const& name);
|
||||
void create_document_if_needed() const;
|
||||
|
||||
String m_name;
|
||||
|
||||
Reference in New Issue
Block a user