Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Use `GDSOFTCLASS` for internal `IP` implementations

HolonProductionce098a92642d
diff --git a/drivers/unix/ip_unix.h b/drivers/unix/ip_unix.h
index d82fa9cf212..088e812a8fb 100644
--- a/drivers/unix/ip_unix.h
+++ b/drivers/unix/ip_unix.h
@@ -35,7 +35,7 @@
#include "core/io/ip.h"
class IPUnix : public IP {
- GDCLASS(IPUnix, IP);
+ GDSOFTCLASS(IPUnix, IP);
virtual void _resolve_hostname(List<IPAddress> &r_addresses, const String &p_hostname, Type p_type = TYPE_ANY) const override;
diff --git a/drivers/windows/ip_windows.h b/drivers/windows/ip_windows.h
index 4123b41c5d9..a2d826073ab 100644
--- a/drivers/windows/ip_windows.h
+++ b/drivers/windows/ip_windows.h
@@ -35,7 +35,7 @@
#include "core/io/ip.h"
class IPWindows : public IP {
- GDCLASS(IPWindows, IP);
+ GDSOFTCLASS(IPWindows, IP);
virtual void _resolve_hostname(List<IPAddress> &r_addresses, const String &p_hostname, Type p_type = TYPE_ANY) const override;
diff --git a/platform/web/ip_web.h b/platform/web/ip_web.h
index 7f9ae44f38f..d0d8cdec13d 100644
--- a/platform/web/ip_web.h
+++ b/platform/web/ip_web.h
@@ -33,7 +33,7 @@
#include "core/io/ip.h"
class IPWeb : public IP {
- GDCLASS(IPWeb, IP);
+ GDSOFTCLASS(IPWeb, IP);
virtual void _resolve_hostname(List<IPAddress> &r_addresses, const String &p_hostname, Type p_type = TYPE_ANY) const override {}