[llvm] r198775 - Add missing rename from the previous commit.

Rafael Espindola rafael.espindola at gmail.com
Wed Jan 8 09:56:47 PST 2014


Author: rafael
Date: Wed Jan  8 11:56:46 2014
New Revision: 198775

URL: http://llvm.org/viewvc/llvm-project?rev=198775&view=rev
Log:
Add missing rename from the previous commit.

No idea how this was compiling locally. Found by the bots.

Modified:
    llvm/trunk/include/llvm/Support/ErrorOr.h

Modified: llvm/trunk/include/llvm/Support/ErrorOr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ErrorOr.h?rev=198775&r1=198774&r2=198775&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ErrorOr.h (original)
+++ llvm/trunk/include/llvm/Support/ErrorOr.h Wed Jan  8 11:56:46 2014
@@ -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;





More information about the llvm-commits mailing list