summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-06-26 11:13:05 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-09-20 08:09:48 -0500
commitb37fc1014abf7adda70dc30b0822d775b3a4433f (patch)
tree1fea31fbbaf41589e9d4ee8e484871280ef720e5 /platform/linuxbsd
parent72c183ce8ba6f5c78213d49dd3a135690ef0bfd3 (diff)
downloadredot-engine-b37fc1014abf7adda70dc30b0822d775b3a4433f.tar.gz
Style: Apply new `clang-format` changes
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r--platform/linuxbsd/export/export_plugin.h2
-rw-r--r--platform/linuxbsd/joypad_linux.cpp2
-rw-r--r--platform/linuxbsd/wayland/key_mapping_xkb.h2
-rw-r--r--platform/linuxbsd/x11/gl_manager_x11_egl.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/platform/linuxbsd/export/export_plugin.h b/platform/linuxbsd/export/export_plugin.h
index 1d9ef01d1a..9e016bd4c3 100644
--- a/platform/linuxbsd/export/export_plugin.h
+++ b/platform/linuxbsd/export/export_plugin.h
@@ -48,7 +48,7 @@ class EditorExportPlatformLinuxBSD : public EditorExportPlatformPC {
String cmd_args;
bool wait = false;
- SSHCleanupCommand(){};
+ SSHCleanupCommand() {}
SSHCleanupCommand(const String &p_host, const String &p_port, const Vector<String> &p_ssh_arg, const String &p_cmd_args, bool p_wait = false) {
host = p_host;
port = p_port;
diff --git a/platform/linuxbsd/joypad_linux.cpp b/platform/linuxbsd/joypad_linux.cpp
index a67428b9a4..49f2690e61 100644
--- a/platform/linuxbsd/joypad_linux.cpp
+++ b/platform/linuxbsd/joypad_linux.cpp
@@ -50,7 +50,7 @@
#define LONG_BITS (sizeof(long) * 8)
#define test_bit(nr, addr) (((1UL << ((nr) % LONG_BITS)) & ((addr)[(nr) / LONG_BITS])) != 0)
-#define NBITS(x) ((((x)-1) / LONG_BITS) + 1)
+#define NBITS(x) ((((x) - 1) / LONG_BITS) + 1)
#ifdef UDEV_ENABLED
static const char *ignore_str = "/dev/input/js";
diff --git a/platform/linuxbsd/wayland/key_mapping_xkb.h b/platform/linuxbsd/wayland/key_mapping_xkb.h
index 306a8f25b5..9b8c90a445 100644
--- a/platform/linuxbsd/wayland/key_mapping_xkb.h
+++ b/platform/linuxbsd/wayland/key_mapping_xkb.h
@@ -51,7 +51,7 @@ class KeyMappingXKB {
static inline HashMap<Key, unsigned int, HashMapHasherKeys> scancode_map_inv;
static inline HashMap<unsigned int, KeyLocation, HashMapHasherKeys> location_map;
- KeyMappingXKB(){};
+ KeyMappingXKB() {}
public:
static void initialize();
diff --git a/platform/linuxbsd/x11/gl_manager_x11_egl.h b/platform/linuxbsd/x11/gl_manager_x11_egl.h
index b9c96619c4..405dda3d83 100644
--- a/platform/linuxbsd/x11/gl_manager_x11_egl.h
+++ b/platform/linuxbsd/x11/gl_manager_x11_egl.h
@@ -52,8 +52,8 @@ private:
public:
void window_resize(DisplayServer::WindowID p_window_id, int p_width, int p_height) {}
- GLManagerEGL_X11(){};
- ~GLManagerEGL_X11(){};
+ GLManagerEGL_X11() {}
+ ~GLManagerEGL_X11() {}
};
#endif // X11_ENABLED && GLES3_ENABLED