mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4638
noavarice (1): refactor(toxid): use left instead of mid
This commit is contained in:
commit
1fc7fe2d58
|
@ -194,7 +194,7 @@ const uint8_t* ToxId::getBytes() const
|
|||
*/
|
||||
ToxPk ToxId::getPublicKey() const
|
||||
{
|
||||
return ToxPk(toxId.mid(0, TOX_PUBLIC_KEY_SIZE));
|
||||
return ToxPk(toxId.left(TOX_PUBLIC_KEY_SIZE));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user