diff --git a/include/bx/bx.h b/include/bx/bx.h index 72b1691..9267bbd 100644 --- a/include/bx/bx.h +++ b/include/bx/bx.h @@ -38,10 +38,6 @@ namespace bx template constexpr bool isTriviallyCopyable(); - /// - template - constexpr ProtoT functionCast(void* _fn); - /// Swap two values. template void swap(Ty& _a, Ty& _b); diff --git a/include/bx/inline/bx.inl b/include/bx/inline/bx.inl index 17e9b98..1cf53a5 100644 --- a/include/bx/inline/bx.inl +++ b/include/bx/inline/bx.inl @@ -33,12 +33,6 @@ namespace bx return __is_trivially_copyable(Ty); } - template - inline constexpr ProtoT functionCast(void* _fn) - { - return reinterpret_cast(_fn); - } - template inline void swap(Ty& _a, Ty& _b) {