Skip to content

Commit

Permalink
Update photoz_lib.h
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelshirley authored Aug 29, 2024
1 parent 0bb81e0 commit 7f420cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/photoz_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class PhotoZ {
PhotoZ(keymap &key_analysed);

virtual ~PhotoZ() {
for (auto &sed: fullLib) delete sed;
for (auto &sed: fullLibIR) delete sed;
for (auto &sed: lightLib) delete sed;
for (auto &sed : fullLib) delete sed;
for (auto &sed : fullLibIR) delete sed;
for (auto &sed : lightLib) delete sed;
fullLib.clear();
fullLibIR.clear();
lightLib.clear();
Expand Down

0 comments on commit 7f420cb

Please sign in to comment.