summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-14 17:41:24 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 10:09:58 +0900
commitbe267a071ecb66f339e461f5b95b2e0fae40c98d (patch)
tree99d62a92c5828a709083018dde7b3de9ee740f39 /src/bin
parent1997e1b3d02f4ff6869775d855bcb80ea89233fc (diff)
cxx: No need to declare the current class twice
This avoids double _FWD_GUARD for the current class in a .eo.hh header.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index 34b8bbc3ab..3fab179cae 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -72,7 +72,7 @@ generate(const Eolian_Class* klass, eolian_cxx::options_type const& opts)
72 72
73 efl::eolian::grammar::attributes::klass_def klass_def(klass, opts.unit); 73 efl::eolian::grammar::attributes::klass_def klass_def(klass, opts.unit);
74 std::vector<efl::eolian::grammar::attributes::klass_def> klasses{klass_def}; 74 std::vector<efl::eolian::grammar::attributes::klass_def> klasses{klass_def};
75 std::vector<efl::eolian::grammar::attributes::klass_def> forward_klasses{klass_def}; 75 std::vector<efl::eolian::grammar::attributes::klass_def> forward_klasses{};
76 76
77 std::set<std::string> c_headers; 77 std::set<std::string> c_headers;
78 std::set<std::string> cpp_headers; 78 std::set<std::string> cpp_headers;