mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-04 22:28:27 +00:00
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
|
||||
virtual ~TestObjectCache() {
|
||||
// Free any buffers we've allocated.
|
||||
SmallVector<MemoryBuffer *, 2>::iterator it, end;
|
||||
SmallVectorImpl<MemoryBuffer *>::iterator it, end;
|
||||
end = AllocatedBuffers.end();
|
||||
for (it = AllocatedBuffers.begin(); it != end; ++it) {
|
||||
delete *it;
|
||||
|
Reference in New Issue
Block a user