- missed changes

This commit is contained in:
2021-06-08 19:30:02 +03:00
parent ce9912dd8d
commit 61be61b7e3
10 changed files with 29 additions and 9 deletions

View File

@@ -245,3 +245,8 @@ std::string MediaStreamId::getFinishDescription() const
return oss.str();
}
std::ostream& operator << (std::ostream& output, const MediaStreamId& id)
{
return (output << id.toString());
}

View File

@@ -87,4 +87,6 @@ struct MediaStreamId
std::string getFinishDescription() const;
};
std::ostream& operator << (std::ostream& output, const MediaStreamId& id);
#endif

View File

@@ -119,7 +119,7 @@ std::string StringHelper::toHex(unsigned int value)
std::string StringHelper::toHex(const void *ptr)
{
std::ostringstream oss;
oss << std::hex << ptr;
oss << std::fixed << std::setw(8) << std::setfill('0') << std::hex << ptr;
return oss.str();
}