mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
This is throwing an error on gcc
This commit is contained in:
parent
f53bdaeb7e
commit
f7eb15bf53
@ -40,7 +40,7 @@ namespace EQ {
|
|||||||
cereal::BinaryOutputArchive output(m_stream);
|
cereal::BinaryOutputArchive output(m_stream);
|
||||||
output(value);
|
output(value);
|
||||||
|
|
||||||
auto &str = m_stream.str();
|
auto str = m_stream.str();
|
||||||
if (Length() < offset + str.length()) {
|
if (Length() < offset + str.length()) {
|
||||||
if (!Resize(offset + str.length())) {
|
if (!Resize(offset + str.length())) {
|
||||||
throw std::out_of_range("Packet::PutSerialize(), could not resize packet and would of written past the end.");
|
throw std::out_of_range("Packet::PutSerialize(), could not resize packet and would of written past the end.");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user