summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/main.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/DevTools/HackStudio/main.cpp
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/DevTools/HackStudio/main.cpp')
-rw-r--r--Userland/DevTools/HackStudio/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp
index 0b1cd19290..9473fcdc4d 100644
--- a/Userland/DevTools/HackStudio/main.cpp
+++ b/Userland/DevTools/HackStudio/main.cpp
@@ -51,7 +51,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
notify_make_not_available();
}
- const char* path_argument = nullptr;
+ char const* path_argument = nullptr;
bool mode_coredump = false;
Core::ArgsParser args_parser;
args_parser.add_positional_argument(path_argument, "Path to a workspace or a file", "path", Core::ArgsParser::Required::No);
@@ -94,7 +94,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
static bool make_is_available()
{
pid_t pid;
- const char* argv[] = { "make", "--version", nullptr };
+ char const* argv[] = { "make", "--version", nullptr };
posix_spawn_file_actions_t action;
posix_spawn_file_actions_init(&action);
posix_spawn_file_actions_addopen(&action, STDOUT_FILENO, "/dev/null", O_WRONLY, 0);
@@ -147,12 +147,12 @@ GUI::TextEditor& current_editor()
return s_hack_studio_widget->current_editor();
}
-void open_file(const String& filename)
+void open_file(String const& filename)
{
s_hack_studio_widget->open_file(filename);
}
-void open_file(const String& filename, size_t line, size_t column)
+void open_file(String const& filename, size_t line, size_t column)
{
s_hack_studio_widget->open_file(filename, line, column);
}