Minor fixes
This commit is contained in:
parent
a1480fc2db
commit
ba3f26d074
|
|
@ -1803,4 +1803,3 @@ namespace Nz
|
||||||
|
|
||||||
|
|
||||||
#include <Nazara/Core/DebugOff.hpp>
|
#include <Nazara/Core/DebugOff.hpp>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -378,7 +378,7 @@ namespace Nz
|
||||||
|
|
||||||
using TextStyleFlags = Flags<TextStyle>;
|
using TextStyleFlags = Flags<TextStyle>;
|
||||||
|
|
||||||
constexpr TextStyleFlags TextStyle_Regular = 0;
|
constexpr TextStyleFlags TextStyle_Regular = TextStyleFlags{};
|
||||||
|
|
||||||
enum class VertexComponent
|
enum class VertexComponent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ namespace Nz
|
||||||
|
|
||||||
IpAddress::IPv6 ipv6;
|
IpAddress::IPv6 ipv6;
|
||||||
for (unsigned int i = 0; i < 8; ++i)
|
for (unsigned int i = 0; i < 8; ++i)
|
||||||
ipv6[i] = Nz::UInt16(rawIpV6[i * 2]) << 8 | rawIpV6[i * 2 + 1];
|
ipv6[i] = UInt16(rawIpV6[i * 2]) << 8 | rawIpV6[i * 2 + 1];
|
||||||
|
|
||||||
return IpAddress(ipv6, ntohs(addressv6->sin6_port));
|
return IpAddress(ipv6, ntohs(addressv6->sin6_port));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue