mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
cpp: fixes pack_short(int) -> pack_short(short)
This commit is contained in:
parent
df5a60fd5b
commit
f7bdda8828
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ public:
|
|||
packer<Stream>& pack_int32(uint32_t d);
|
||||
packer<Stream>& pack_int64(uint64_t d);
|
||||
|
||||
packer<Stream>& pack_short(int d);
|
||||
packer<Stream>& pack_short(short d);
|
||||
packer<Stream>& pack_int(int d);
|
||||
packer<Stream>& pack_long(long d);
|
||||
packer<Stream>& pack_long_long(long long d);
|
||||
|
|
@ -183,7 +183,7 @@ inline packer<Stream>& packer<Stream>::pack_int64(uint64_t d)
|
|||
|
||||
|
||||
template <typename Stream>
|
||||
inline packer<Stream>& packer<Stream>::pack_short(int d)
|
||||
inline packer<Stream>& packer<Stream>::pack_short(short d)
|
||||
{ _pack_short(m_stream, d); return *this; }
|
||||
|
||||
template <typename Stream>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue