Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-513

RVO causing seg fault due to taking reference to transient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    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. 

      Attachments

        Issue Links

          Activity

            People

              phrocker Marc Parisi
              phrocker Marc Parisi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: