You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "marco polo (JIRA)" <ji...@apache.org> on 2018/05/28 14:18:00 UTC

[jira] [Updated] (MINIFICPP-513) RVO causing seg fault due to taking reference to transient

     [ https://issues.apache.org/jira/browse/MINIFICPP-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

marco polo updated MINIFICPP-513:
---------------------------------
    Description: RVO causing seg fault due to taking reference to transient on certain compilers. Additionally, during profiling found that elision was prevented, so we should avoid using the rvalue reference for the return and move semantics and let the compiler take care of the optimization.   (was: RVO causing seg fault due to taking reference to transient)

> RVO causing seg fault due to taking reference to transient 
> -----------------------------------------------------------
>
>                 Key: MINIFICPP-513
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-513
>             Project: NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: marco polo
>            Assignee: marco polo
>            Priority: Major
>
> RVO causing seg fault due to taking reference to transient on certain compilers. Additionally, during profiling found that elision was prevented, so we should avoid using the rvalue reference for the return and move semantics and let the compiler take care of the optimization. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)