#1260 change get_user_tag_ref to const because its the right thing to do

This commit is contained in:
Scott Fennell 2022-05-17 12:08:13 -05:00
parent 3bece7f73e
commit 878b895588
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace Trick {
void set_port(unsigned short in_port) ;
std::string get_user_tag() ;
std::string& get_user_tag_ref() ;
const std::string& get_user_tag_ref() ;
void set_user_tag(std::string in_tag) ;
void set_source_address(const char * address) ;

View File

@ -47,7 +47,7 @@ std::string Trick::VariableServerListenThread::get_user_tag() {
return user_tag ;
}
std::string& Trick::VariableServerListenThread::get_user_tag_ref() {
const std::string& Trick::VariableServerListenThread::get_user_tag_ref() {
return user_tag ;
}