mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Add VL_MT_SAFE attribute to several functions. (#3729)
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user