Fix some GCC 4.9 compilation errors.
This commit is contained in:
parent
0535cba37c
commit
dbd397cb0e
@ -107,7 +107,7 @@ telegram_api::object_ptr<telegram_api::InputReplyTo> MessageInputReplyTo::get_in
|
||||
flags, reply_to_message_id.get_server_message_id().get(), top_thread_message_id.get_server_message_id().get(),
|
||||
std::move(input_peer), string(), Auto(), 0);
|
||||
quote_.update_input_reply_to_message(td, result.get());
|
||||
return result;
|
||||
return std::move(result);
|
||||
}
|
||||
|
||||
// only for draft messages
|
||||
|
@ -88,7 +88,11 @@ class DcOptionsSet {
|
||||
|
||||
struct DcOptionId {
|
||||
size_t pos = 0;
|
||||
auto as_tie() const {
|
||||
|
||||
explicit DcOptionId(size_t pos) : pos(pos) {
|
||||
}
|
||||
|
||||
size_t as_tie() const {
|
||||
return pos;
|
||||
}
|
||||
bool operator==(const DcOptionId &other) const {
|
||||
|
Loading…
Reference in New Issue
Block a user