mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 17:53:35 +00:00
This is throwing an error on gcc
This commit is contained in:
1 parent
f53bdaeb7e
commit
f7eb15bf53
1 file changed
+1
-1
+1
-1
@@ -40,7 +40,7 @@ namespace EQ {
|
||||
cereal::BinaryOutputArchive output(m_stream);
|
||||
output(value);
|
||||
|
||||
auto &str = m_stream.str();
|
||||
auto str = m_stream.str();
|
||||
if (Length() < 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.");
|
||||
|
||||
Reference in new issue
Block a user