summaryrefslogtreecommitdiffstats
path: root/editor/gui
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2024-10-07 10:57:21 -0400
committerAdam Scott <ascott.ca@gmail.com>2024-10-25 13:49:43 -0400
commit0d350e71086fffce0553811739aae9f6ad66136c (patch)
tree95b3d7c17edd5c9ea7cb33107670074f53cb216e /editor/gui
parent6732a0fd867f40751c53f8ed7a3a15bf1b45323f (diff)
downloadredot-engine-0d350e71086fffce0553811739aae9f6ad66136c.tar.gz
Set clang-format `RemoveSemicolon` rule to `true`
- Set clang-format `Standard` rule to `c++20`
Diffstat (limited to 'editor/gui')
-rw-r--r--editor/gui/editor_file_dialog.cpp4
-rw-r--r--editor/gui/editor_toaster.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/editor/gui/editor_file_dialog.cpp b/editor/gui/editor_file_dialog.cpp
index 7600748685..1735e325fc 100644
--- a/editor/gui/editor_file_dialog.cpp
+++ b/editor/gui/editor_file_dialog.cpp
@@ -350,7 +350,7 @@ void EditorFileDialog::shortcut_input(const Ref<InputEvent> &p_event) {
void EditorFileDialog::set_enable_multiple_selection(bool p_enable) {
item_list->set_select_mode(p_enable ? ItemList::SELECT_MULTI : ItemList::SELECT_SINGLE);
-};
+}
Vector<String> EditorFileDialog::get_selected_files() const {
Vector<String> list;
@@ -360,7 +360,7 @@ Vector<String> EditorFileDialog::get_selected_files() const {
}
}
return list;
-};
+}
void EditorFileDialog::update_dir() {
if (drives->is_visible()) {
diff --git a/editor/gui/editor_toaster.cpp b/editor/gui/editor_toaster.cpp
index 24f19db578..a38ed7f4c1 100644
--- a/editor/gui/editor_toaster.cpp
+++ b/editor/gui/editor_toaster.cpp
@@ -566,7 +566,7 @@ EditorToaster::EditorToaster() {
eh.errfunc = _error_handler;
add_error_handler(&eh);
-};
+}
EditorToaster::~EditorToaster() {
singleton = nullptr;