diff --git a/td/telegram/files/FileLocation.h b/td/telegram/files/FileLocation.h index 879822aa..b091a25d 100644 --- a/td/telegram/files/FileLocation.h +++ b/td/telegram/files/FileLocation.h @@ -409,6 +409,9 @@ class FullRemoteFileLocation { return make_tl_object( photo().id_, photo().access_hash_, BufferSlice(file_reference_), std::string(1, static_cast(narrow_cast(thumbnail.thumbnail_type)))); + default: + UNREACHABLE(); + break; } break; }