[JSONExporter] Try to appease buildbot. NFC.
authorMichael Kruse <llvm@meinersbur.de>
Wed, 1 Aug 2018 00:48:01 +0000 (00:48 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 1 Aug 2018 00:48:01 +0000 (00:48 +0000)
The compiler does not seem to able move a local variable in the
function's return statement.

llvm-svn: 338466

polly/lib/Exchange/JSONExporter.cpp

index 7e77280..423768b 100644 (file)
@@ -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) {