소스 검색

Merge pull request #53347 from migeran/fix_gdnative_get_current_library_path

Rémi Verschelde 3 년 전
부모
커밋
9ffaa6c090
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/gdnative/gdnative.h

+ 1 - 1
modules/gdnative/gdnative.h

@@ -76,7 +76,7 @@ public:
 
 	// things that change per-platform
 	// so there are no setters for this
-	_FORCE_INLINE_ String get_current_library_path() const {
+	_FORCE_INLINE_ const String &get_current_library_path() const {
 		return current_library_path;
 	}
 	_FORCE_INLINE_ Vector<String> get_current_dependencies() const {