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 <cedric.bail@free.fr>
This commit is contained in:
Savio Sena 2014-05-09 12:48:49 +02:00 committed by Cedric Bail
parent 1e592d22b7
commit e4f16cb2c5
1 changed files with 1 additions and 1 deletions

View File

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