From a44a5af115871b5be4dcfb05a421046a25ba5d73 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 12 Aug 2018 19:50:31 +0200 Subject: Add namespace to avoid name collision and crash --- src/WebRTCPeer.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/WebRTCPeer.hpp') diff --git a/src/WebRTCPeer.hpp b/src/WebRTCPeer.hpp index 52a754b..72560bc 100644 --- a/src/WebRTCPeer.hpp +++ b/src/WebRTCPeer.hpp @@ -5,6 +5,8 @@ #include "net/WebRTCPeerNative.hpp" +namespace godot_webrtc { + class WebRTCPeer : public WebRTCPeerNative { GODOT_CLASS(WebRTCPeer, WebRTCPeerNative); @@ -30,7 +32,10 @@ public: virtual godot_int get_available_packet_count() const; virtual godot_int get_max_packet_size() const; + WebRTCPeer(); ~WebRTCPeer(); }; +} + #endif // WEBRTC_PEER_H -- cgit v1.2.3