diff options
| author | levlam <levlam@telegram.org> | 2023-06-26 00:55:53 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-06-26 00:55:53 +0300 |
| commit | 4db4828726a2db6ec28b4a97255372db060c839e (patch) | |
| tree | f0405921e3ed4990d23fe9f6d148cb9998907a4e /tdtl | |
| parent | fe791570566c1a5f369fcccadf7c443514aea7e7 (diff) | |
Remove unused Object forward declaration.
Diffstat (limited to 'tdtl')
| -rw-r--r-- | tdtl/td/tl/tl_generate.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tdtl/td/tl/tl_generate.cpp b/tdtl/td/tl/tl_generate.cpp index 7da82f93b..2b3cb3bc2 100644 --- a/tdtl/td/tl/tl_generate.cpp +++ b/tdtl/td/tl/tl_generate.cpp @@ -632,19 +632,6 @@ void write_tl(const tl_config &config, tl_outputer &out, const TL_writer &w) { } } } - for (int i = 0; i <= w.get_max_arity(); i++) { - out.append(w.gen_forward_class_declaration(w.gen_base_type_class_name(i), true)); - } - - for (std::size_t function = 0; function < functions_n; function++) { - tl_combinator *t = config.get_function_by_num(function); - if (!w.is_combinator_supported(t)) { - continue; - } - - // out.append(w.gen_forward_class_declaration(w.gen_class_name(t->name), false)); - } - // out.append(w.gen_forward_class_declaration(w.gen_base_function_class_name(), true)); // write base classes std::vector<var_description> empty_vars; |
