Add VL_MT_SAFE attribute to several functions. (#3729)

This commit is contained in:
Kamil Rakoczy
2023-03-16 19:48:56 -04:00
committed by GitHub
parent b2ced6ff1d
commit bbf53bd5af
28 changed files with 279 additions and 209 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
V3Hash::V3Hash(const std::string& val)
: m_value{static_cast<uint32_t>(std::hash<std::string>{}(val))} {}
std::ostream& operator<<(std::ostream& os, const V3Hash& rhs) {
std::ostream& operator<<(std::ostream& os, const V3Hash& rhs) VL_MT_SAFE {
return os << 'h' << std::hex << std::setw(8) << std::setfill('0') << rhs.value();
}