aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/NetAdr2.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/NetAdr2.h')
-rw-r--r--NorthstarDedicatedTest/NetAdr2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/NetAdr2.h b/NorthstarDedicatedTest/NetAdr2.h
index a574a836..b37e6b48 100644
--- a/NorthstarDedicatedTest/NetAdr2.h
+++ b/NorthstarDedicatedTest/NetAdr2.h
@@ -45,8 +45,8 @@ class CNetAdr2
{
public:
CNetAdr2(void) {};
- CNetAdr2(std::string svInAdr);
- CNetAdr2(std::string svInAdr, std::string svInPort);
+ CNetAdr2(const std::string& svInAdr);
+ CNetAdr2(const std::string& svInAdr, const std::string& svInPort);
~CNetAdr2(void);
void SetIP(const std::string& svInAdr);
@@ -65,7 +65,7 @@ class CNetAdr2
netadrtype_t GetType(void) const;
netadrversion_t GetVersion(void) const;
std::string GetBase(void) const;
- std::string GetBase(std::string svInAdr) const;
+ std::string GetBase(const std::string& svInAdr) const;
std::vector<std::string> GetParts(void) const;
int GetSize(void) const;
int GetFamily(void) const;