You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Michael Fitzner (Created) (JIRA)" <ji...@apache.org> on 2012/03/21 11:11:41 UTC

[jira] [Created] (ETCH-226) Avoid copy of data values inside the validators

Avoid copy of data values inside the validators
-----------------------------------------------

                 Key: ETCH-226
                 URL: https://issues.apache.org/jira/browse/ETCH-226
             Project: Etch
          Issue Type: Task
          Components: binding-cpp
            Reporter: Michael Fitzner
            Assignee: Michael Fitzner
            Priority: Minor


Currently a copy inside the validateValue method is done. This should be avoided.

EtchByte *v = (EtchByte *) value;
result = (EtchObject*) (new EtchByte((capu::int8_t)v->get()));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira