mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
build fix
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
#include "PacketUtilities.h"
|
||||
#include "Hyperlinks.h"
|
||||
#include "StringFormat.h"
|
||||
#include <utf8.h>
|
||||
|
||||
WorldPackets::InvalidStringValueException::InvalidStringValueException(std::string const& value) : ByteBufferInvalidValueException("string", value.c_str())
|
||||
@@ -57,6 +58,6 @@ bool WorldPackets::Strings::NoHyperlinks::Validate(std::string const& value)
|
||||
}
|
||||
|
||||
WorldPackets::PacketArrayMaxCapacityException::PacketArrayMaxCapacityException(std::size_t requestedSize, std::size_t sizeLimit)
|
||||
: ByteBufferException(Trinity::StringFormat("Attempted to read more array elements from packet {} than allowed {}", requestedSize, sizeLimit))
|
||||
{
|
||||
message().assign("Attempted to read more array elements from packet " + Trinity::ToString(requestedSize) + " than allowed " + Trinity::ToString(sizeLimit));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user