core: clear check-style -l3 errors

This commit is contained in:
Peter D. Barnes, Jr
2020-03-25 15:12:18 -07:00
parent 78d7fa3d12
commit 063d86c096
135 changed files with 3870 additions and 3283 deletions

View File

@@ -73,7 +73,7 @@ PointerValue::SerializeToString (Ptr<const AttributeChecker> checker) const
return oss.str ();
}
bool
bool
PointerValue::DeserializeFromString (std::string value, Ptr<const AttributeChecker> checker)
{
// We assume that the string you want to deserialize contains
@@ -82,9 +82,9 @@ PointerValue::DeserializeFromString (std::string value, Ptr<const AttributeCheck
NS_LOG_FUNCTION (this << value << checker);
ObjectFactory factory;
std::istringstream iss;
iss.str(value);
iss.str (value);
iss >> factory;
if (iss.fail())
if (iss.fail ())
{
return false;
}