Branimir Karadžić 5 лет назад
Родитель
Сommit
354f8ba67e
2 измененных файлов с 0 добавлено и 10 удалено
  1. 0 4
      include/bx/bx.h
  2. 0 6
      include/bx/inline/bx.inl

+ 0 - 4
include/bx/bx.h

@@ -38,10 +38,6 @@ namespace bx
 	template<class Ty>
 	constexpr bool isTriviallyCopyable();
 
-	///
-	template<typename ProtoT>
-	constexpr ProtoT functionCast(void* _fn);
-
 	/// Swap two values.
 	template<typename Ty>
 	void swap(Ty& _a, Ty& _b);

+ 0 - 6
include/bx/inline/bx.inl

@@ -33,12 +33,6 @@ namespace bx
 		return __is_trivially_copyable(Ty);
 	}
 
-	template<typename ProtoT>
-	inline constexpr ProtoT functionCast(void* _fn)
-	{
-		return reinterpret_cast<ProtoT>(_fn);
-	}
-
 	template<typename Ty>
 	inline void swap(Ty& _a, Ty& _b)
 	{