Use =default for skeleton copy constructor
[ACE_TAO.git] / ACE / apps / drwho / SL_Server.cpp
blob879f9fee5a800278a408432050776a599c6e82ad
1 #include "global.h"
2 #include "SL_Server.h"
3 #include "ace/OS_NS_string.h"
5 SL_Server::SL_Server (const char *usr_name)
6 : Single_Lookup (usr_name)
10 Protocol_Record *
11 SL_Server::get_each_entry ()
13 Protocol_Record *prp = Single_Lookup::get_each_entry ();
14 return prp->get_drwho_list () == 0 ? 0 : prp;
17 Protocol_Record *
18 SL_Server::insert (const char *key_name, int max_len)
20 return ACE_OS::strncmp (key_name,
21 this->prp_->get_login (),
22 max_len) == 0 ? this->prp_ : 0;