mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	Improved (fixed?) serialization for vec<uint32_t>
This commit is contained in:
		
							parent
							
								
									f98c8abf42
								
							
						
					
					
						commit
						e344b9c734
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -16,6 +16,13 @@ namespace serialization
 | 
			
		|||
      return ::do_serialize(ar, e);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    template <typename Archive>
 | 
			
		||||
    bool serialize_vector_element(Archive& ar, uint32_t& e)
 | 
			
		||||
    {
 | 
			
		||||
      ar.serialize_varint(e);
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    template <typename Archive>
 | 
			
		||||
    bool serialize_vector_element(Archive& ar, uint64_t& e)
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue