Merge branches 'binary_type' and 'develop' of https://github.com/nlohmann/json into binary_type
This commit is contained in:
commit
ab6e76dd05
18 changed files with 96 additions and 38 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue