mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 02:09:36 +01:00
Make 'logger' a std::unique_ptr
This prevents it from being leaked (see
bb411e4ae1 for an example of this).
This commit is contained in:
parent
1f688d62d7
commit
2018413e3e
8 changed files with 45 additions and 42 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
Logger * makeProgressBar();
|
||||
std::unique_ptr<Logger> makeProgressBar();
|
||||
|
||||
void startProgressBar();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue