From ccba24737bcf80703e03bce27ed3e5e8a41e5d5b Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Sat, 5 Nov 2022 10:40:59 -0400 Subject: [PATCH] Remove unused lambda --- include/teqp/models/multifluid.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/teqp/models/multifluid.hpp b/include/teqp/models/multifluid.hpp index 609556c..22aae39 100644 --- a/include/teqp/models/multifluid.hpp +++ b/include/teqp/models/multifluid.hpp @@ -934,14 +934,6 @@ inline auto multifluidfactory(const nlohmann::json& spec) { std::string root = (spec.contains("root")) ? spec.at("root") : ""; - auto JSON_from_path_or_contents = [&root](const nlohmann::json &path_or_contents) -> nlohmann::json { - if (path_or_contents.is_string()) { - return load_a_JSON_file(path_or_contents.get<std::string>()); - } - else { - return path_or_contents; - } - }; auto get_json = [](const std::string& path1, const std::string& default_path){ try{ return load_a_JSON_file(path1); -- GitLab