From 326f2d27439beac0d834946fad8728f1d93e342a Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 18 Dec 2015 19:22:02 +0100 Subject: [PATCH] Accidentally broke the trip plugin --- plugins/trip.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trip.hpp b/plugins/trip.hpp index 6a7ce6419..a69e25e77 100644 --- a/plugins/trip.hpp +++ b/plugins/trip.hpp @@ -384,7 +384,6 @@ template class RoundTripPlugin final : public BasePlugin trip.values.push_back(std::move(scc_trip)); } - json_result.values["trips"] = std::move(trip); if (trip.values.empty()) { @@ -392,6 +391,7 @@ template class RoundTripPlugin final : public BasePlugin return Status::EmptyResult; } + json_result.values["trips"] = std::move(trip); json_result.values["status_message"] = "Found trips"; return Status::Ok; }