summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-08 17:56:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-08 17:56:46 +0000
commit2b5313d26ba58fb70b0333a73693ee453315879c (patch)
tree6a068ad5d2639731bde1a91736b15276473d6e72
parentdc682bcecccb1b31c22def7e6c3e5e82dd40f6a7 (diff)
downloadllvm-2b5313d26ba58fb70b0333a73693ee453315879c.tar.gz
llvm-2b5313d26ba58fb70b0333a73693ee453315879c.tar.bz2
llvm-2b5313d26ba58fb70b0333a73693ee453315879c.tar.xz
Add missing rename from the previous commit.
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
-rw-r--r--include/llvm/Support/ErrorOr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/ErrorOr.h b/include/llvm/Support/ErrorOr.h
index 4f475a0428..26af1e8c80 100644
--- a/include/llvm/Support/ErrorOr.h
+++ b/include/llvm/Support/ErrorOr.h
@@ -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;