소스 검색

Use unqualified type when accessing properties

Ole 10 년 전
부모
커밋
77505c69c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/luwra/usertypes.hpp

+ 1 - 1
lib/luwra/usertypes.hpp

@@ -131,7 +131,7 @@ namespace internal {
 	/**
 	 * Lua C function for a property accessor.
 	 */
-	template <typename U, typename R, R U::* property_pointer> static inline
+	template <typename U, typename R, R StripUserType<U>::* property_pointer> static inline
 	int access_user_type_property(State* state) {
 		using T = StripUserType<U>;