| 96 | } |
| 97 | |
| 98 | Data::SavedSublist *Key::sublist() const { |
| 99 | if (const auto sublist = std::get_if<not_null<Data::SavedSublist*>>( |
| 100 | &_value)) { |
| 101 | return *sublist; |
| 102 | } |
| 103 | return nullptr; |
| 104 | } |
| 105 | |
| 106 | UserData *Key::settingsSelf() const { |
| 107 | if (const auto tag = std::get_if<Settings::Tag>(&_value)) { |
no outgoing calls
no test coverage detected