summaryrefslogtreecommitdiffstats
path: root/core/io
diff options
context:
space:
mode:
Diffstat (limited to 'core/io')
-rw-r--r--core/io/dir_access.h4
-rw-r--r--core/io/file_access.h4
-rw-r--r--core/io/ip.cpp2
-rw-r--r--core/io/resource_loader.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/core/io/dir_access.h b/core/io/dir_access.h
index e358ce11a5..2567764e55 100644
--- a/core/io/dir_access.h
+++ b/core/io/dir_access.h
@@ -98,8 +98,8 @@ public:
virtual bool file_exists(String p_file) = 0;
virtual bool dir_exists(String p_dir) = 0;
- virtual bool is_readable(String p_dir) { return true; };
- virtual bool is_writable(String p_dir) { return true; };
+ virtual bool is_readable(String p_dir) { return true; }
+ virtual bool is_writable(String p_dir) { return true; }
static bool exists(const String &p_dir);
virtual uint64_t get_space_left() = 0;
diff --git a/core/io/file_access.h b/core/io/file_access.h
index 5304198fe5..61970b2d1a 100644
--- a/core/io/file_access.h
+++ b/core/io/file_access.h
@@ -217,8 +217,8 @@ public:
static bool get_read_only_attribute(const String &p_file);
static Error set_read_only_attribute(const String &p_file, bool p_ro);
- static void set_backup_save(bool p_enable) { backup_save = p_enable; };
- static bool is_backup_save_enabled() { return backup_save; };
+ static void set_backup_save(bool p_enable) { backup_save = p_enable; }
+ static bool is_backup_save_enabled() { return backup_save; }
static String get_md5(const String &p_file);
static String get_sha256(const String &p_file);
diff --git a/core/io/ip.cpp b/core/io/ip.cpp
index 72c1ad4389..cf152cb41a 100644
--- a/core/io/ip.cpp
+++ b/core/io/ip.cpp
@@ -53,7 +53,7 @@ struct _IP_ResolverPrivate {
response.clear();
type = IP::TYPE_NONE;
hostname = "";
- };
+ }
QueueItem() {
clear();
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h
index 35aff65856..21b688db9c 100644
--- a/core/io/resource_loader.h
+++ b/core/io/resource_loader.h
@@ -224,7 +224,7 @@ public:
static ThreadLoadStatus load_threaded_get_status(const String &p_path, float *r_progress = nullptr);
static Ref<Resource> load_threaded_get(const String &p_path, Error *r_error = nullptr);
- static bool is_within_load() { return load_nesting > 0; };
+ static bool is_within_load() { return load_nesting > 0; }
static void resource_changed_connect(Resource *p_source, const Callable &p_callable, uint32_t p_flags);
static void resource_changed_disconnect(Resource *p_source, const Callable &p_callable);