mirror of
https://github.com/verilator/verilator.git
synced 2025-01-22 14:24:18 +00:00
Fix verilatedimp compile error on RHEL, bug117
This commit is contained in:
parent
eb4a686b14
commit
df69439b9c
@ -41,7 +41,7 @@ class VerilatedScope;
|
|||||||
|
|
||||||
struct VerilatedCStrCmp {
|
struct VerilatedCStrCmp {
|
||||||
// For ordering maps keyed by const char*'s
|
// For ordering maps keyed by const char*'s
|
||||||
bool operator() (const char *a, const char *b) {
|
bool operator() (const char *a, const char *b) const {
|
||||||
return std::strcmp(a, b) < 0;
|
return std::strcmp(a, b) < 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user