introduce the ns3::String class, get rid of the string -> Attribute implicit conversion, and get rid of MakeDataRate, port PointToPointNetDevice to Attributes

This commit is contained in:
Mathieu Lacage
2008-02-27 21:41:34 +01:00
parent 1d4187bd0f
commit 0c586271e5
31 changed files with 200 additions and 279 deletions

View File

@@ -305,14 +305,14 @@ std::istream & operator >> (std::istream &is, Ipv4Address &address)
{
std::string str;
is >> str;
address = Ipv4Address (str);
address = Ipv4Address (str.c_str ());
return is;
}
std::istream & operator >> (std::istream &is, Ipv4Mask &mask)
{
std::string str;
is >> str;
mask = Ipv4Mask (str);
mask = Ipv4Mask (str.c_str ());
return is;
}