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

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

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ namespace ns3 {
bool Ipv4Header::m_calcChecksum = false;
const char *
std::string
Ipv4Header::GetUid (void)
{
return "Ipv4Header.ns3";
+1 -1
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
*/