PR comments/improvements

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 19:21:50 -07:00
parent 5e9872f7ce
commit c07b9d31bf
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ typedef const GUID& REFIID;
const GUID name \
= { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
inline static REFGUID GUID_NULL()
inline REFGUID GUID_NULL()
{
static GUID guid = { 0x00000000L, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} };
return guid;
@@ -14,14 +14,14 @@
#include <AzNetworking/Utilities/Endian_Platform.h>
#if AZ_TRAIT_NEEDS_HTONLL
inline static const uint64_t htonll(uint64_t value)
inline const uint64_t htonll(uint64_t value)
{
const uint32_t hiValue = htonl(static_cast<uint32_t>(value >> 32));
const uint32_t loValue = htonl(static_cast<uint32_t>(value & 0x00000000FFFFFFFF));
return static_cast<uint64_t>(hiValue) << 32 | static_cast<uint64_t>(loValue);
}
inline static const uint64_t ntohll(uint64_t value)
inline const uint64_t ntohll(uint64_t value)
{
return htonll(value);
}