diff options
| author | 2023-01-11 00:45:04 +0000 | |
|---|---|---|
| committer | 2023-01-11 00:56:15 +0000 | |
| commit | c3e42d4e5db872e8ef408263da74375ff1ff7f82 (patch) | |
| tree | 11cd74fa4230b60fa8ba3d4c9e72f18be9c3d12c /src/modules | |
| parent | Fix calling various static functions through a type instance. (diff) | |
Make some functions that don't use `this` static.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_spanningtree/opertype.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/opertype.cpp b/src/modules/m_spanningtree/opertype.cpp index f5cacc0df..792245669 100644 --- a/src/modules/m_spanningtree/opertype.cpp +++ b/src/modules/m_spanningtree/opertype.cpp @@ -31,7 +31,7 @@ class RemoteOperAccount final : public OperAccount { private: - void ReadModes(ModeParser::ModeStatus& modes, const ClientProtocol::TagMap& tags, const std::string& tag) + static void ReadModes(ModeParser::ModeStatus& modes, const ClientProtocol::TagMap& tags, const std::string& tag) { auto it = tags.find(tag); if (it != tags.end()) @@ -49,7 +49,7 @@ private: modes.set(); } - void ReadTokens(TokenList& tokens, const ClientProtocol::TagMap& tags, const std::string& tag) + static void ReadTokens(TokenList& tokens, const ClientProtocol::TagMap& tags, const std::string& tag) { auto it = tags.find(tag); if (it != tags.end()) |
