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

Method gen_constructor_end

tl/generate/tl_writer_cpp.cpp:691–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691std::string TD_TL_writer_cpp::gen_constructor_end(const tl::tl_combinator *t, int fields_num, bool is_default) const {
692 if (fields_num == 0) {
693 return ") {\n"
694 "}\n";
695 }
696 return "{}\n";
697}
698
699} // namespace td

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected