mirror of
https://github.com/UltraCoderRU/telebotxx.git
synced 2026-01-28 04:05:13 +00:00
Added swap function for PhotoSizeArray.
This commit is contained in:
parent
bec2705dc2
commit
0e896f7066
2 changed files with 6 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ namespace telebotxx
|
|||
};
|
||||
|
||||
void swap(PhotoSize& lhs, PhotoSize& rhs);
|
||||
void swap(PhotoSizeArray& lhs, PhotoSizeArray& rhs);
|
||||
void swap(Audio& lhs, Audio& rhs);
|
||||
void swap(Document& lhs, Document& rhs);
|
||||
void swap(Sticker& lhs, Sticker& rhs);
|
||||
|
|
|
|||
|
|
@ -389,6 +389,11 @@ void telebotxx::swap(PhotoSize& lhs, PhotoSize& rhs)
|
|||
lhs.swap(rhs);
|
||||
}
|
||||
|
||||
void telebotxx::swap(PhotoSizeArray& lhs, PhotoSizeArray& rhs)
|
||||
{
|
||||
lhs.swap(rhs);
|
||||
}
|
||||
|
||||
void telebotxx::swap(Audio& lhs, Audio& rhs)
|
||||
{
|
||||
lhs.swap(rhs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue