Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions core/templates/command_queue_mt.cpp

This file was deleted.

5 changes: 3 additions & 2 deletions core/templates/command_queue_mt.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class CommandQueueMT {
pump_task_id = p_task_id;
}

CommandQueueMT();
~CommandQueueMT();
CommandQueueMT() {
command_mem.reserve(DEFAULT_COMMAND_MEM_SIZE_KB * 1024);
}
};
33 changes: 0 additions & 33 deletions core/templates/rid_owner.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion core/templates/rid_owner.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
#endif

class RID_AllocBase {
static SafeNumeric<uint64_t> base_id;
static inline SafeNumeric<uint64_t> base_id{ 1 };

protected:
static RID _make_from_id(uint64_t p_id) {
Expand Down
36 changes: 0 additions & 36 deletions modules/godot_physics_2d/godot_broad_phase_2d.cpp

This file was deleted.

4 changes: 2 additions & 2 deletions modules/godot_physics_2d/godot_broad_phase_2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GodotBroadPhase2D {
public:
typedef GodotBroadPhase2D *(*CreateFunction)();

static CreateFunction create_func;
static inline CreateFunction create_func = nullptr;

typedef uint32_t ID;

Expand All @@ -64,5 +64,5 @@ class GodotBroadPhase2D {

virtual void update() = 0;

virtual ~GodotBroadPhase2D();
virtual ~GodotBroadPhase2D() {}
};
36 changes: 0 additions & 36 deletions modules/godot_physics_3d/godot_broad_phase_3d.cpp

This file was deleted.

4 changes: 2 additions & 2 deletions modules/godot_physics_3d/godot_broad_phase_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GodotBroadPhase3D {
public:
typedef GodotBroadPhase3D *(*CreateFunction)();

static CreateFunction create_func;
static inline CreateFunction create_func = nullptr;

typedef uint32_t ID;

Expand All @@ -65,5 +65,5 @@ class GodotBroadPhase3D {

virtual void update() = 0;

virtual ~GodotBroadPhase3D();
virtual ~GodotBroadPhase3D() {}
};
2 changes: 0 additions & 2 deletions platform/web/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ web_files = [
"http_client_web.cpp",
"javascript_bridge_singleton.cpp",
"web_main.cpp",
"ip_web.cpp",
"net_socket_web.cpp",
"os_web.cpp",
]

Expand Down
48 changes: 0 additions & 48 deletions platform/web/ip_web.cpp

This file was deleted.

13 changes: 8 additions & 5 deletions platform/web/ip_web.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@
class IPWeb : public IP {
GDCLASS(IPWeb, IP);

virtual void _resolve_hostname(List<IPAddress> &r_addresses, const String &p_hostname, Type p_type = TYPE_ANY) const override;
virtual void _resolve_hostname(List<IPAddress> &r_addresses, const String &p_hostname, Type p_type = TYPE_ANY) const override {}

private:
static IP *_create_web();
static IP *_create_web() {
return memnew(IPWeb);
}

public:
virtual void get_local_interfaces(HashMap<String, Interface_Info> *r_interfaces) const override;
virtual void get_local_interfaces(HashMap<String, Interface_Info> *r_interfaces) const override {}

static void make_default();
IPWeb();
static void make_default() {
_create = _create_web;
}
};
39 changes: 0 additions & 39 deletions platform/web/net_socket_web.cpp

This file was deleted.

10 changes: 6 additions & 4 deletions platform/web/net_socket_web.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@

class NetSocketWeb : public NetSocket {
protected:
static NetSocket *_create_func();
static NetSocket *_create_func() {
return memnew(NetSocketWeb);
}

public:
static void make_default();
static void make_default() {
_create = _create_func;
}

virtual Error open(Type p_sock_type, IP::Type &ip_type) override { return ERR_UNAVAILABLE; }
virtual void close() override {}
Expand All @@ -64,6 +68,4 @@ class NetSocketWeb : public NetSocket {
virtual void set_reuse_address_enabled(bool p_enabled) override {}
virtual Error join_multicast_group(const IPAddress &p_multi_address, const String &p_if_name) override { return ERR_UNAVAILABLE; }
virtual Error leave_multicast_group(const IPAddress &p_multi_address, const String &p_if_name) override { return ERR_UNAVAILABLE; }

NetSocketWeb() {}
};
43 changes: 0 additions & 43 deletions servers/rendering/dummy/storage/texture_storage.cpp

This file was deleted.

Loading
Loading