Skip to content

Commit 66669da

Browse files
author
MarcoFalke
committed
Remove unused Make() overload in netmessagemaker.h
1 parent fa0ed07 commit 66669da

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/netmessagemaker.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,13 @@ class CNetMsgMaker
1515
explicit CNetMsgMaker(int /*unused*/) {}
1616

1717
template <typename... Args>
18-
CSerializedNetMsg Make(int /*unused*/, std::string msg_type, Args&&... args) const
18+
CSerializedNetMsg Make(std::string msg_type, Args&&... args) const
1919
{
2020
CSerializedNetMsg msg;
2121
msg.m_type = std::move(msg_type);
2222
VectorWriter{msg.data, 0, std::forward<Args>(args)...};
2323
return msg;
2424
}
25-
26-
template <typename... Args>
27-
CSerializedNetMsg Make(std::string msg_type, Args&&... args) const
28-
{
29-
return Make(0, std::move(msg_type), std::forward<Args>(args)...);
30-
}
3125
};
3226

3327
#endif // BITCOIN_NETMESSAGEMAKER_H

0 commit comments

Comments
 (0)