Add missing rename from the previous commit.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 8 Jan 2014 17:56:46 +0000 (17:56 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 8 Jan 2014 17:56:46 +0000 (17:56 +0000)
No idea how this was compiling locally. Found by the bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198775 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ErrorOr.h

index 4f475a04284381e2a2a9dbef8245b12c77fb8539..26af1e8c8004ee8279ce601c7a0fac862f38cc72 100644 (file)
@@ -196,7 +196,7 @@ private:
     if (!Other.HasError) {
       // Get the other value.
       HasError = false;
-      new (getStorage()) storage_type(*Other.get());
+      new (getStorage()) storage_type(*Other.getStorage());
     } else {
       // Get other's error.
       HasError = true;