1
0
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:
sudden6 2017-10-10 13:08:15 +02:00
commit 1fc7fe2d58
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -194,7 +194,7 @@ const uint8_t* ToxId::getBytes() const
*/ */
ToxPk ToxId::getPublicKey() const ToxPk ToxId::getPublicKey() const
{ {
return ToxPk(toxId.mid(0, TOX_PUBLIC_KEY_SIZE)); return ToxPk(toxId.left(TOX_PUBLIC_KEY_SIZE));
} }
/** /**