You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at #16156, we are introducing a number of places again where we're using bare operator new calls. We've tried to replace as many of these by std::make_shared() and std::make_unique() as possible in recent years to make it easier to reason about whether a piece of code may or may not have memory leaks. We should create a function
The PR with this function was merged in June 2022. It was during a period in which the Trilinos team seems to have updated the version number less frequently. The earliest version in which this PR is included seems to be 14.0 from May 2023.
Looking at #16156, we are introducing a number of places again where we're using bare
operator new
calls. We've tried to replace as many of these bystd::make_shared()
andstd::make_unique()
as possible in recent years to make it easier to reason about whether a piece of code may or may not have memory leaks. We should create a functionand use it wherever we allocate memory via direct
new
calls right now.(Of course, it would be nice if Teuchos already had such a function for us, but I can't find one.)
@kinnewig FYI.
The text was updated successfully, but these errors were encountered: