MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / gen_fetch_switch_end

Method gen_fetch_switch_end

tl/generate/tl_writer_cpp.cpp:661–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661std::string TD_TL_writer_cpp::gen_fetch_switch_end() const {
662 return " default:\n"
663 " FAIL(PSTRING() << \"Unknown constructor found \" << td::format::as_hex(constructor));\n"
664 " }\n";
665}
666
667std::string TD_TL_writer_cpp::gen_constructor_begin(int fields_num, const std::string &class_name,
668 bool is_default) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected