remove name arg from dds_create_topic_arbitrary
The name parameter and the name in the sertopic parameter had to match because it used the one as a key in a lookup checking whether the topic exists already, and the other as key for the nodes in that index. As the name is (currently) included in the sertopic, it shouldn't be passed in separately as well. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
		
							parent
							
								
									f27baa71e4
								
							
						
					
					
						commit
						2afb578a0a
					
				
					 3 changed files with 15 additions and 20 deletions
				
			
		| 
						 | 
				
			
			@ -967,8 +967,7 @@ dds_create_topic(
 | 
			
		|||
 * matching is done on a combination of topic name and type name.
 | 
			
		||||
 *
 | 
			
		||||
 * @param[in]  participant  Participant on which to create the topic.
 | 
			
		||||
 * @param[in]  sertopic     Internal description of the topic type.
 | 
			
		||||
 * @param[in]  name         Name of the topic.
 | 
			
		||||
 * @param[in]  sertopic     Internal description of the topic type (includes name).
 | 
			
		||||
 * @param[in]  qos          QoS to set on the new topic (can be NULL).
 | 
			
		||||
 * @param[in]  listener     Any listener functions associated with the new topic (can be NULL).
 | 
			
		||||
 * @param[in]  sedp_plist   Topic description to be published as part of discovery (if NULL, not published).
 | 
			
		||||
| 
						 | 
				
			
			@ -987,7 +986,6 @@ DDS_EXPORT dds_entity_t
 | 
			
		|||
dds_create_topic_arbitrary (
 | 
			
		||||
  dds_entity_t participant,
 | 
			
		||||
  struct ddsi_sertopic *sertopic,
 | 
			
		||||
  const char *name,
 | 
			
		||||
  const dds_qos_t *qos,
 | 
			
		||||
  const dds_listener_t *listener,
 | 
			
		||||
  const struct nn_plist *sedp_plist);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue