diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-11 14:58:22 +0000 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-19 14:19:57 +0000 |
commit | fa4a9c0f4334678fb80358ead667807bf2a0a153 (patch) | |
tree | 027945491283d0c943ca2f704c8f499253311a32 /src/netmessagemaker.h | |
parent | f01416e23c9c820517c37003a2a98dd46d1022ba (diff) | |
download | bitcoin-fa4a9c0f4334678fb80358ead667807bf2a0a153.tar.xz |
Remove unused GetType() from OverrideStream, CVectorWriter, SpanReader
GetType() is never called, so it is completely unused and can be
removed.
Diffstat (limited to 'src/netmessagemaker.h')
-rw-r--r-- | src/netmessagemaker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netmessagemaker.h b/src/netmessagemaker.h index 89fb4758f9..a121183aab 100644 --- a/src/netmessagemaker.h +++ b/src/netmessagemaker.h @@ -19,7 +19,7 @@ public: { CSerializedNetMsg msg; msg.m_type = std::move(msg_type); - CVectorWriter{ SER_NETWORK, nFlags | nVersion, msg.data, 0, std::forward<Args>(args)... }; + CVectorWriter{nFlags | nVersion, msg.data, 0, std::forward<Args>(args)...}; return msg; } |