zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #05429
Re: [Merge] lp:~zorba-coders/zorba/concat_operator into lp:zorba
A small code improvement: rather thah doing a dynamic_cast to check if an expr is an fo_expr, use the get_expr_kind() method. So, the code would look like this:
if (right->get_expr_kind() == fo_expr_kind)
{
fo_expr* lfoExpr = static_cast<fo_expr*>(right.getp());
etc....;
}
Also, please respect the coding style of the files you update. In this case, put the "{" in a separate line.
--
https://code.launchpad.net/~zorba-coders/zorba/concat_operator/+merge/94869
Your team Zorba Coders is subscribed to branch lp:zorba.
References