mirror of
https://github.com/nasa/trick.git
synced 2025-02-18 16:30:21 +00:00
#1260 change get_user_tag_ref to const because its the right thing to do
This commit is contained in:
parent
3bece7f73e
commit
878b895588
@ -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) ;
|
||||
|
@ -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 ;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user