Fix missing namespace
This commit is contained in:
parent
a2491ae93c
commit
5f895e4fbb
@ -303,7 +303,7 @@ class TlWriterCCommon final : public tl::TL_writer {
|
||||
}
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const final {
|
||||
bool is_proxy, const tl::tl_tree *result) const final {
|
||||
if (is_header_ != 1 || class_name == "") {
|
||||
return "";
|
||||
}
|
||||
|
@ -493,7 +493,7 @@ std::string TD_TL_writer_cpp::gen_forward_class_declaration(const std::string &c
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_cpp::gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const {
|
||||
bool is_proxy, const tl::tl_tree *result) const {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ class TD_TL_writer_cpp : public TD_TL_writer {
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const override;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const override;
|
||||
bool is_proxy, const tl::tl_tree *result) const override;
|
||||
std::string gen_class_end() const override;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const override;
|
||||
|
@ -255,7 +255,7 @@ std::string TD_TL_writer_h::gen_forward_class_declaration(const std::string &cla
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_h::gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const std::string &func_return_class_name) const {
|
||||
bool is_proxy, const tl::tl_tree *result) const {
|
||||
return "class " + class_name + (!is_proxy ? " final " : "") + ": public " + base_class_name +
|
||||
" {\n"
|
||||
" public:\n";
|
||||
|
@ -34,7 +34,7 @@ class TD_TL_writer_h : public TD_TL_writer {
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const override;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const override;
|
||||
bool is_proxy, const tl::tl_tree *result) const override;
|
||||
std::string gen_class_end() const override;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const override;
|
||||
|
@ -117,7 +117,7 @@ std::string TD_TL_writer_hpp::gen_forward_class_declaration(const std::string &c
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_hpp::gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const {
|
||||
bool is_proxy, const tl::tl_tree *result) const {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ class TD_TL_writer_hpp final : public TD_TL_writer {
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const final;
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
std::string gen_class_end() const final;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const final;
|
||||
|
Loading…
Reference in New Issue
Block a user