From 1de4d06c2211bd19b2833f9ea684ee1126047950 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 6 Mar 2023 16:22:25 -0400 Subject: TProtocol: Disable inlining completely It's a good start to do it here, and work our way to other parts of the codebase. --- src/pso/TProtocol.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp index d30df7d..e3c45a9 100644 --- a/src/pso/TProtocol.cpp +++ b/src/pso/TProtocol.cpp @@ -90,8 +90,6 @@ void TProtocol::run_task() { } } -void TProtocol::some_stub() {}; - TProtocol::~TProtocol() { } @@ -99,7 +97,6 @@ TProtocol::~TProtocol() { #define fill_with(name, value) memset(&m_##name, value, sizeof(m_##name)) #define copy(name) strncpy(m_##name.m_data, name, sizeof(m_##name.m_data)) -#pragma dont_inline on TProtocol::TProtocol(TObject *parent, u16 sub_version, int language, char *serial_number, char *access_key, char *password) : TTcpSocket(parent) { u8 thing[6]; m_name = TProtocol_name; @@ -189,7 +186,5 @@ TProtocol::TProtocol(TObject *parent, u16 sub_version, int language, char *seria m_recv_handlers.m_data[48] = nullptr; } -void dummy(); -#pragma dont_inline off #undef fill_with #undef copy -- cgit v1.2.3-13-gbd6f