bareos: master afd4ede1

Author Committer Branch Timestamp Parent
arogge pstorz master 2022-11-02 15:50 master d61468a3 Pending
Changeset lib: remove casts from foreach_alist()

With alist being a cleanly typed template, we can omit all the type
casts in foreach_alist() and have it type safe.
This produces some issues with the existing usages which are also fixed.
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/lib/alist.h Diff File
mod - core/src/lib/bareos_resource.cc Diff File
mod - core/src/lib/bareos_resource.h Diff File
mod - core/src/lib/output_formatter_resource.cc Diff File
mod - core/src/lib/output_formatter_resource.h Diff File
mod - core/src/lib/plugins.cc Diff File
mod - core/src/lib/runscript.cc Diff File
mod - core/src/stored/reserve.cc Diff File
mod - core/src/stored/reserve.h Diff File
mod - core/src/tests/alist_test.cc Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File