mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +00:00 
			
		
		
		
	[Allocator] Fix an obvious think-o with the move assignment
implementation of the SpecificBumpPtrAllocator -- we have to actually move the subobject. =] Noticed when using this code more directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -370,7 +370,7 @@ public:
 | 
				
			|||||||
  ~SpecificBumpPtrAllocator() { DestroyAll(); }
 | 
					  ~SpecificBumpPtrAllocator() { DestroyAll(); }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  SpecificBumpPtrAllocator &operator=(SpecificBumpPtrAllocator &&RHS) {
 | 
					  SpecificBumpPtrAllocator &operator=(SpecificBumpPtrAllocator &&RHS) {
 | 
				
			||||||
    Allocator = RHS.Allocator;
 | 
					    Allocator = std::move(RHS.Allocator);
 | 
				
			||||||
    return *this;
 | 
					    return *this;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user