mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Fix Buffer<> version of Dictionary.get().
This commit is contained in:
parent
0959d33ba0
commit
eee59ec9ce
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ public:
|
|||
template<unsigned int BC>
|
||||
inline bool get(const char *key,Buffer<BC> &dest) const
|
||||
{
|
||||
const int r = this->get(key,const_cast<char *>(reinterpret_cast<const char *>(dest.data())),C);
|
||||
const int r = this->get(key,const_cast<char *>(reinterpret_cast<const char *>(dest.data())),BC);
|
||||
if (r >= 0) {
|
||||
dest.setSize((unsigned int)r);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue