소스 검색

Merge pull request #1561 from Spartan322/gcc-14-Wtemplate-id-cdtor-warning

 Fix GCC 14 -Wtemplate-id-cdtor warning
David Snopek 1 년 전
부모
커밋
aac0164b7a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/godot_cpp/templates/safe_refcount.hpp

+ 1 - 1
include/godot_cpp/templates/safe_refcount.hpp

@@ -132,7 +132,7 @@ public:
 		}
 	}
 
-	_ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
+	_ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) {
 		set(p_value);
 	}
 };