From 354f8ba67ed544d49e283bb5d909e675e500a2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 8 Sep 2020 07:42:45 -0700 Subject: [PATCH] Cleanup. --- include/bx/bx.h | 4 ---- include/bx/inline/bx.inl | 6 ------ 2 files changed, 10 deletions(-) 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) {