mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Merge pull request #153 from wheremyfoodat/wheremyfoodat-patch-2
Fix helpers.hpp on Android
This commit is contained in:
commit
d28796fd3f
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ namespace Helpers {
|
||||||
return getBits<offset, bits, ValueT, ValueT>(value);
|
return getBits<offset, bits, ValueT, ValueT>(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HELPERS_APPLE_CLANG
|
#if defined(HELPERS_APPLE_CLANG) || defined(__ANDROID__)
|
||||||
template <class To, class From>
|
template <class To, class From>
|
||||||
constexpr To bit_cast(const From& from) noexcept {
|
constexpr To bit_cast(const From& from) noexcept {
|
||||||
return *reinterpret_cast<const To*>(&from);
|
return *reinterpret_cast<const To*>(&from);
|
||||||
|
|
Loading…
Add table
Reference in a new issue