From cb40b0808a639fa0de330cb2b88574a0e8b4d2d5 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 4 Mar 2023 17:49:03 -0400 Subject: TProtocol: Match ctor The reason for the large change is because I was trying to figure out why `TTcpSocket`'s ctor was so disjointed from the rest of the functions. Turns out, it's inlined, and inlining was turned off. Most likely, the whole codebase has inlining turned off. oof, press f `TArray`. --- src/pso/TPlyGuildCardTag.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pso/TPlyGuildCardTag.cpp') diff --git a/src/pso/TPlyGuildCardTag.cpp b/src/pso/TPlyGuildCardTag.cpp index 2626adc..021c644 100644 --- a/src/pso/TPlyGuildCardTag.cpp +++ b/src/pso/TPlyGuildCardTag.cpp @@ -16,6 +16,11 @@ void TPlyGuildCardTag::bswap() { bswap_16(&m_tag.tag2); } +TPlyGuildCardTag &TPlyGuildCardTag::operator=(const TPlyGuildCardTag &src) { + _assign(src); + return *this; +} + void TPlyGuildCardTag::assign(const TPlyGuildCardTag &src) { _assign(src); } -- cgit v1.2.3-13-gbd6f