shangxinli opened a new pull request, #475:
URL: https://github.com/apache/iceberg-cpp/pull/475

   Replace raw new with std::make_shared for better exception safety and modern 
C++ best practices in RestCatalog::Make().
   
   Using std::make_shared provides:
   - Better exception safety (no leak if constructor throws)
   - More efficient memory allocation (single allocation for control block and 
object)
   - More concise and readable code
   - Consistent with modern C++ guidelines


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to