forked from enlightenment/efl
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:
parent
1e592d22b7
commit
e4f16cb2c5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue