Draft: Fixes to the C++ code for allowing BL4S/TDAQ to be built with gcc11 against tdaq-9-4-0
-
fixes ambigious uses of the nlohmann/json library in combination with std::string (mostly by explicitly accessing values via the
get< std::string >()
method) -
removes templated generic lambda's -> they are a C++20 feature. Replaced by free-standing template functions; additionally, some changes in the calls to these functions to avoid ADL issues
-
fixes issues with return value handling from network / socket library
-
fixes call to the constructor of a std::pair<> with underspecified template arguments by using the std::make_pair function; using type aliases to remove auto keywords from lambdas (a C++14 feature which we could rely on but did not specifiy anywhere)
-
fixes some cosmetic issues
Edited by Martin Schwinzerl