summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-14 04:41:15 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-03-08 15:11:34 +0100
commitf2799fdbb296fa764384ba085fcb46e19248b09a (patch)
tree8ab05706e0c067d30b31679b5cfbd95a2fa49f2c /src/init.cpp
parent34fd1f8caa847d75ff7d5c6e3b8619b494608629 (diff)
downloadfork-godot-webrtc-native-f2799fdbb296fa764384ba085fcb46e19248b09a.tar.gz
fork-godot-webrtc-native-f2799fdbb296fa764384ba085fcb46e19248b09a.tar.bz2
fork-godot-webrtc-native-f2799fdbb296fa764384ba085fcb46e19248b09a.zip
Fix name collision, scons file, final touches
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index e8e1d0c..ec6998b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1,4 +1,4 @@
-#include "WebRTCPeer.hpp"
+#include "WebRTCLibPeer.hpp"
#include "net/WebRTCPeerNative.hpp"
#include <gdnative_api_struct.gen.h>
@@ -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<godot_webrtc::WebRTCPeer>();
+ godot::register_class<godot_webrtc::WebRTCLibPeer>();
}