mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Fix verilatedimp compile error on RHEL, bug117
This commit is contained in:
@@ -41,7 +41,7 @@ class VerilatedScope;
|
||||
|
||||
struct VerilatedCStrCmp {
|
||||
// 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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user