Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit b8d741f

Browse files
author
Zachary Turner
committed
Appease buildbots after r280114.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280117 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent b161c80 commit b8d741f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/llvm/ADT/ArrayRef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,15 +342,15 @@ namespace llvm {
342342
MutableArrayRef<T> keep_front(size_t N = 1) const {
343343
if (N >= this->size())
344344
return *this;
345-
return drop_back(size() - N);
345+
return drop_back(this->size() - N);
346346
}
347347

348348
/// \brief Drop everything but the last \p N elements of the array.
349349
LLVM_ATTRIBUTE_UNUSED_RESULT
350350
MutableArrayRef<T> keep_back(size_t N = 1) const {
351351
if (N >= this->size())
352352
return *this;
353-
return drop_front(size() - N);
353+
return drop_front(this->size() - N);
354354
}
355355

356356
/// @}

0 commit comments

Comments
 (0)