From dbd68011363b01f22ab85e11ad52a8e90da9611a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 6 Nov 2021 11:05:45 +0100 Subject: Use std::source_location instead of __FILE__. --- src/libctor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libctor.cc') diff --git a/src/libctor.cc b/src/libctor.cc index c752192..1fe1298 100644 --- a/src/libctor.cc +++ b/src/libctor.cc @@ -200,7 +200,7 @@ Options: no_default_build = true; for(const auto& add_file : add_files) { - reg(add_file.data(), [](){ return std::vector{};}); + reg(add_file.data()); } for(const auto& remove_file : remove_files) -- cgit v1.2.3