mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +00:00 
			
		
		
		
	AK: Span<T>::operator=(const T&) => Span<T>::operator=(const Span<T>&)
This commit is contained in:
		
							parent
							
								
									c37dc4ae73
								
							
						
					
					
						commit
						caedd05bd8
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -176,10 +176,11 @@ public: | |||
|         return this->m_values[index]; | ||||
|     } | ||||
| 
 | ||||
|     ALWAYS_INLINE T& operator=(const T& other) | ||||
|     ALWAYS_INLINE Span& operator=(const Span<T>& other) | ||||
|     { | ||||
|         this->m_size = other.m_size; | ||||
|         this->m_values = other.m_values; | ||||
|         return *this; | ||||
|     } | ||||
| 
 | ||||
|     ALWAYS_INLINE operator Span<const T>() const | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AnotherTest
						AnotherTest