zhjwpku commented on PR #1357:
URL: https://github.com/apache/orc/pull/1357#issuecomment-1374803860

   > All MacOS 11 CIs seem to fail. Is this tested on MacOS 11?
   
   The fail was because:
   
   /Users/runner/work/orc/orc/c++/src/Timezone.cc:452:12: error: prior to the 
resolution of a defect report against ISO C++11, local variable 'result' would 
have been copied despite being returned by name, due to its not matching the 
function return type ('shared_ptr<orc::FutureRule>' vs 
'shared_ptr<orc::FutureRuleImpl>') [-Werror,-Wreturn-std-move-in-c++11]
       return result;
              ^~~~~~
   /Users/runner/work/orc/orc/c++/src/Timezone.cc:452:12: note: call 
'std::move' explicitly to avoid copying on older compilers
       return result;
              ^~~~~~
              std::move(result)
   
   I've changed the code as recommended.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to