Coding Global Background
Coding Global

Unique ptr multiple delete calls

Archiviert 9 months ago
0 Nachrichten
1 Mitglieder
9 months ago
In Discord öffnen
Z
zenz
Moderator

Utilising std::move to move my object into a new one being created. The object is a struct holding 2 member attrs (an enum and a unique_ptr to a base class for structs). However multiple deletes calls of the resource being held by the unique ptr: https://github.com/JadoreThompson/cpp-order-matcher