Merge branches 'binary_type' and 'develop' of https://github.com/nlohmann/json into binary_type
This commit is contained in:
18 files changed
+96
-38
No files matched your search
@@ -32,7 +32,7 @@ namespace detail
|
||||
|
||||
@note from https://stackoverflow.com/a/1001328/266378
|
||||
*/
|
||||
static bool little_endianess(int num = 1) noexcept
|
||||
static inline bool little_endianess(int num = 1) noexcept
|
||||
{
|
||||
return *reinterpret_cast<char*>(&num) == 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user