diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-15 20:31:57 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-15 20:31:57 +0100 |
commit | dbd4b9d07d776c891099c5d0706aa15648292266 (patch) | |
tree | 16c3645ac6e461b76d4062c575cad7c24efe6f95 /libs/ardour/ardour/types.h | |
parent | efb9f3c54e134c30e3a5f3551ab0b9f4ead525d1 (diff) |
Fix cleanup report #7891
Direct call to Session::cleanup_sources() from ARDOUR_UI::cleanup()
didn't zero initialize size. This centralizes initialization,
so cleanup_trash_sources() does not need to explicitly clear it.
Diffstat (limited to 'libs/ardour/ardour/types.h')
-rw-r--r-- | libs/ardour/ardour/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 6d9d0a9f47..b55e245282 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -662,6 +662,7 @@ enum ScreenSaverMode { }; struct CleanupReport { + CleanupReport () : space (0) {} std::vector<std::string> paths; size_t space; }; |