Fix compilation error
This commit is contained in:
parent
5f895e4fbb
commit
71b72b8450
@ -201,7 +201,7 @@ class TlWriterDotNet final : public TL_writer {
|
||||
}
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy) const final {
|
||||
bool is_proxy, const tl::tl_tree *result) const final {
|
||||
if (!is_header_) {
|
||||
return "";
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ std::string TD_TL_writer_jni_cpp::gen_base_tl_class_name() const {
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_jni_cpp::gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy) const {
|
||||
bool is_proxy, const tl::tl_tree *result) const {
|
||||
return "\n"
|
||||
"jclass " +
|
||||
class_name + "::Class;\n";
|
||||
|
@ -55,7 +55,7 @@ class TD_TL_writer_jni_cpp final : public TD_TL_writer_cpp {
|
||||
std::string gen_base_tl_class_name() const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy) const final;
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
|
||||
std::string gen_field_definition(const std::string &class_name, const std::string &type_name,
|
||||
const std::string &field_name) const final;
|
||||
|
@ -126,7 +126,7 @@ std::string TD_TL_writer_jni_h::gen_output_begin() const {
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_jni_h::gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy) const {
|
||||
bool is_proxy, const tl::tl_tree *result) const {
|
||||
if (class_name == gen_base_tl_class_name()) {
|
||||
return "class " + class_name +
|
||||
" {\n"
|
||||
|
@ -35,7 +35,7 @@ class TD_TL_writer_jni_h final : public TD_TL_writer_h {
|
||||
std::string gen_output_begin() const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy) const final;
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
|
||||
std::string gen_field_definition(const std::string &class_name, const std::string &type_name,
|
||||
const std::string &field_name) const final;
|
||||
|
Loading…
Reference in New Issue
Block a user