Skip to content
  • David Frank's avatar
    #104 Change naked new into unique_ptr, into make_unique · c146fd27
    David Frank authored
    To remove naked new in DataHandlerGPU and DataHandlerMapGPU, Badges are
    introduced. This way the constructor of DataHandlerMapGPU is private,
    but `std::make_unique<DataHandlerGPU>` can still use it through badges.
    Without badges `std::make_unique` couldn't find the private constructor.
    c146fd27