소스 검색

Merge pull request #259 from BastiaanOlij/update_3.1_stable

Synced with Godot 3.1 stable
Bastiaan Olij 6 년 전
부모
커밋
df04c4097f
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      LICENSE.md
  2. 1 1
      godot_headers
  3. 1 1
      src/core/String.cpp

+ 1 - 1
LICENSE.md

@@ -1,6 +1,6 @@
 # MIT License
 
-Copyright (c) 2017 GodotNativeTools
+Copyright (c) 2017-2019 GodotNativeTools
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 1 - 1
godot_headers

@@ -1 +1 @@
-Subproject commit b98ac387a1407c16536fdde79466f932433adb0b
+Subproject commit 489db2761c8aa0f49efbbc729dfa728f850f9756

+ 1 - 1
src/core/String.cpp

@@ -99,7 +99,7 @@ String::~String() {
 }
 
 wchar_t &String::operator[](const int idx) {
-	return *godot::api->godot_string_operator_index(&_godot_string, idx);
+	return *const_cast<wchar_t *>(godot::api->godot_string_operator_index(&_godot_string, idx));
 }
 
 wchar_t String::operator[](const int idx) const {