cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e4f16cb2c50cf9bc975212de7c3bff6794e7c548
commit e4f16cb2c50cf9bc975212de7c3bff6794e7c548 Author: Savio Sena <[email protected]> Date: Fri May 9 12:48:49 2014 +0200 eolian_cxx: pass eo_class by reference instead of by value. Summary: This patch gets rid of a "defect" pointed out by Coverty Scan -- as per jackdanielz request. CID 1211985. Reviewers: cedric, smohanty, JackDanielZ CC: felipealmeida, cedric Differential Revision: https://phab.enlightenment.org/D840 Signed-off-by: Cedric Bail <[email protected]> --- src/lib/eolian_cxx/eo_generate.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian_cxx/eo_generate.hh b/src/lib/eolian_cxx/eo_generate.hh index 477f263..6cbbb30 100644 --- a/src/lib/eolian_cxx/eo_generate.hh +++ b/src/lib/eolian_cxx/eo_generate.hh @@ -10,7 +10,7 @@ namespace efl { namespace eolian { inline void -generate(std::ostream& out, eo_class cls, eo_generator_options const& opts) +generate(std::ostream& out, eo_class const& cls, eo_generator_options const& opts) { grammar::eo_header_generator(out, cls, opts); } --
