forgot to use std::string instead of const char *

This commit is contained in:
Mathieu Lacage
2007-08-04 13:21:55 +02:00
parent cb6943010a
commit 6a1e38d831
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ namespace ns3 {
bool Ipv4Header::m_calcChecksum = false;
const char *
std::string
Ipv4Header::GetUid (void)
{
return "Ipv4Header.ns3";

View File

@@ -32,7 +32,7 @@ namespace ns3 {
class Ipv4Header : public Header
{
public:
static const char *GetUid (void);
static std::string GetUid (void);
/**
* \brief Construct a null IPv4 header
*/