summaryrefslogtreecommitdiffstats
path: root/polly
diff options
context:
space:
mode:
Diffstat (limited to 'polly')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index 7e7728003e0..423768bdeed 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -173,7 +173,7 @@ static json::Value getJSON(Scop &S) {
}
root["statements"] = std::move(Statements);
- return root;
+ return json::Value(std::move(root));
}
static void exportScop(Scop &S) {
OpenPOWER on IntegriCloud