jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=be267a071ecb66f339e461f5b95b2e0fae40c98d

commit be267a071ecb66f339e461f5b95b2e0fae40c98d
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Nov 14 17:41:24 2017 +0900

    cxx: No need to declare the current class twice
    
    This avoids double _FWD_GUARD for the current class in a .eo.hh header.
---
 src/bin/eolian_cxx/eolian_cxx.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 
    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;

-- 


Reply via email to