mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Add VL_MT_SAFE annotations to const functions (#3681)
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ std::ostream& operator<<(std::ostream& os, const V3Hash& rhs) {
|
||||
return os << 'h' << std::hex << std::setw(8) << std::setfill('0') << rhs.value();
|
||||
}
|
||||
|
||||
std::string V3Hash::toString() const {
|
||||
std::string V3Hash::toString() const VL_MT_SAFE {
|
||||
std::ostringstream os;
|
||||
os << *this;
|
||||
return os.str();
|
||||
|
||||
Reference in New Issue
Block a user