mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:10:04 +00:00 
			
		
		
		
	Return fields by value instead of const reference
This commit is contained in:
		
							parent
							
								
									c47a569645
								
							
						
					
					
						commit
						835ee644b5
					
				
					 10 changed files with 481 additions and 483 deletions
				
			
		|  | @ -74,47 +74,47 @@ bool WmoHeaderImpl::operator==(const WmoHeaderImpl& o) const | |||
|            productDesignator_ == o.productDesignator_); | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::sequence_number() const | ||||
| std::string WmoHeader::sequence_number() const | ||||
| { | ||||
|    return p->sequenceNumber_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::data_type() const | ||||
| std::string WmoHeader::data_type() const | ||||
| { | ||||
|    return p->dataType_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::geographic_designator() const | ||||
| std::string WmoHeader::geographic_designator() const | ||||
| { | ||||
|    return p->geographicDesignator_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::bulletin_id() const | ||||
| std::string WmoHeader::bulletin_id() const | ||||
| { | ||||
|    return p->bulletinId_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::icao() const | ||||
| std::string WmoHeader::icao() const | ||||
| { | ||||
|    return p->icao_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::date_time() const | ||||
| std::string WmoHeader::date_time() const | ||||
| { | ||||
|    return p->dateTime_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::bbb_indicator() const | ||||
| std::string WmoHeader::bbb_indicator() const | ||||
| { | ||||
|    return p->bbbIndicator_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::product_category() const | ||||
| std::string WmoHeader::product_category() const | ||||
| { | ||||
|    return p->productCategory_; | ||||
| } | ||||
| 
 | ||||
| const std::string& WmoHeader::product_designator() const | ||||
| std::string WmoHeader::product_designator() const | ||||
| { | ||||
|    return p->productDesignator_; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat