mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
'base::optional_variant<' -> 'std::variant<v::null_t,'
This commit is contained in:
@@ -47,7 +47,7 @@ PeerData *Key::peer() const {
|
||||
}
|
||||
|
||||
//Data::Feed *Key::feed() const { // #feed
|
||||
// if (const auto feed = base::get_if<not_null<Data::Feed*>>(&_value)) {
|
||||
// if (const auto feed = std::get_if<not_null<Data::Feed*>>(&_value)) {
|
||||
// return *feed;
|
||||
// }
|
||||
// return nullptr;
|
||||
|
Reference in New Issue
Block a user