summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-12 19:50:31 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-12 19:50:31 +0200
commita44a5af115871b5be4dcfb05a421046a25ba5d73 (patch)
treeb535e3b78c3bbfcdc8a61982f488630aad7d2af3 /src/init.cpp
parent169252bf60c4006daedb78a3502d17da401722f6 (diff)
downloadfork-godot-webrtc-native-a44a5af115871b5be4dcfb05a421046a25ba5d73.tar.gz
fork-godot-webrtc-native-a44a5af115871b5be4dcfb05a421046a25ba5d73.tar.bz2
fork-godot-webrtc-native-a44a5af115871b5be4dcfb05a421046a25ba5d73.zip
Add namespace to avoid name collision and crash
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 544bfa2..60aaf45 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -21,5 +21,5 @@ extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_opt
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
godot::Godot::nativescript_init(handle);
- godot::register_class<WebRTCPeer>();
+ godot::register_class<godot_webrtc::WebRTCPeer>();
}