diff options
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
-rw-r--r-- | llvm/lib/Support/JSON.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/JSON.cpp b/llvm/lib/Support/JSON.cpp index d44eafa..16b1d11 100644 --- a/llvm/lib/Support/JSON.cpp +++ b/llvm/lib/Support/JSON.cpp @@ -513,7 +513,7 @@ Expected<Value> parse(StringRef JSON) { if (P.checkUTF8()) if (P.parseValue(E)) if (P.assertEnd()) - return E; + return std::move(E); return P.takeError(); } char ParseError::ID = 0; |