cxx: No need to declare the current class twice

This avoids double _FWD_GUARD for the current class in a .eo.hh header.
This commit is contained in:
Jean-Philippe Andre 2017-11-14 17:41:24 +09:00
parent 1997e1b3d0
commit be267a071e
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ generate(const Eolian_Class* klass, eolian_cxx::options_type const& opts)
efl::eolian::grammar::attributes::klass_def klass_def(klass, opts.unit);
std::vector<efl::eolian::grammar::attributes::klass_def> klasses{klass_def};
std::vector<efl::eolian::grammar::attributes::klass_def> forward_klasses{klass_def};
std::vector<efl::eolian::grammar::attributes::klass_def> forward_klasses{};
std::set<std::string> c_headers;
std::set<std::string> cpp_headers;