From 135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 22 Oct 2013 15:18:03 +0000 Subject: Speling fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193165 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ErrorOr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/llvm/Support/ErrorOr.h') diff --git a/include/llvm/Support/ErrorOr.h b/include/llvm/Support/ErrorOr.h index f3ac305fe7..6832e3df2f 100644 --- a/include/llvm/Support/ErrorOr.h +++ b/include/llvm/Support/ErrorOr.h @@ -34,7 +34,7 @@ struct ErrorHolderBase { ErrorHolderBase() : RefCount(1) {} - void aquire() { + void acquire() { ++RefCount; } @@ -308,7 +308,7 @@ private: // Get other's error. Error = Other.Error; HasError = true; - Error->aquire(); + Error->acquire(); } } @@ -437,7 +437,7 @@ public: ErrorOr(const ErrorOr &Other) : Error(0, 0) { Error = Other.Error; if (Other.Error.getPointer()->Error) { - Error.getPointer()->aquire(); + Error.getPointer()->acquire(); } } -- cgit v1.2.3