From 651f2d90455f08048e3b0975deb4b7cf4d81c810 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 26 Jan 2017 17:01:12 -0500 Subject: [PATCH] Dependency: Code cleanup --- src/dependency.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dependency.cpp b/src/dependency.cpp index 0323d1d75..62108169a 100644 --- a/src/dependency.cpp +++ b/src/dependency.cpp @@ -40,7 +40,7 @@ extern Context context; //////////////////////////////////////////////////////////////////////////////// std::vector dependencyGetBlocked (const Task& task) { - std::string uuid = task.get ("uuid"); + auto uuid = task.get ("uuid"); std::vector blocked; for (auto& it : context.tdb2.pending.get_tasks ())