diff --git a/BaseLib/ConfigTree.cpp b/BaseLib/ConfigTree.cpp index 1cf8551998fc760bb65e83a691885653e2d7bb14..ea5f7ee38b0910b6fde1b0c76e1c716f006effde 100644 --- a/BaseLib/ConfigTree.cpp +++ b/BaseLib/ConfigTree.cpp @@ -18,7 +18,7 @@ // Explicitly instantiate the boost::property_tree::ptree which is a typedef to // the following basic_ptree. template class boost::property_tree::basic_ptree<std::string, std::string, - std::less<std::string>>; + std::less<>>; //! Collects swallowed error messages raised by the check during destruction of //! ConfigTree instances. diff --git a/BaseLib/ConfigTree.h b/BaseLib/ConfigTree.h index b56d15010d2e3d0a76628ad936f5d7f492356425..97b5aa726214d407ed2b8a6b6737e7d0aa4e9462 100644 --- a/BaseLib/ConfigTree.h +++ b/BaseLib/ConfigTree.h @@ -20,8 +20,7 @@ #include <boost/property_tree/ptree.hpp> extern template class boost::property_tree::basic_ptree< - std::string, std::string, std::less<std::string>>; - + std::string, std::string, std::less<>>; namespace BaseLib { diff --git a/NumLib/TimeStepping/Algorithms/CreateEvolutionaryPIDcontroller.cpp b/NumLib/TimeStepping/Algorithms/CreateEvolutionaryPIDcontroller.cpp index cbb14a1c2531cc4e01ecdff95031cfa044a0a0db..337a0b59cd09881c44df5a90d06bac98769d0d50 100644 --- a/NumLib/TimeStepping/Algorithms/CreateEvolutionaryPIDcontroller.cpp +++ b/NumLib/TimeStepping/Algorithms/CreateEvolutionaryPIDcontroller.cpp @@ -49,7 +49,7 @@ std::unique_ptr<TimeStepAlgorithm> createEvolutionaryPIDcontroller( if (!fixed_output_times.empty()) { // Remove possible duplicated elements and sort in descending order. - BaseLib::makeVectorUnique(fixed_output_times, std::greater<double>()); + BaseLib::makeVectorUnique(fixed_output_times, std::greater<>()); } //! \ogs_file_param{prj__time_loop__processes__process__time_stepping__EvolutionaryPIDcontroller__tol} diff --git a/ProcessLib/Output/CreateOutput.cpp b/ProcessLib/Output/CreateOutput.cpp index 98e60d790e4c12779ac3826ef5ade1f0931eea2e..70dd99c741570fd97a835da89a9935bc5765c65a 100644 --- a/ProcessLib/Output/CreateOutput.cpp +++ b/ProcessLib/Output/CreateOutput.cpp @@ -124,7 +124,7 @@ std::unique_ptr<Output> createOutput( { fixed_output_times = std::move(*fixed_output_times_ptr); // Remove possible duplicated elements and sort in descending order. - BaseLib::makeVectorUnique(fixed_output_times, std::greater<double>()); + BaseLib::makeVectorUnique(fixed_output_times, std::greater<>()); } bool const output_iteration_results =