diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-08-22 16:09:13 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-08-22 16:20:22 +0200 |
commit | 98442e019d745f1d61983c071decfa3ebc1ff0cf (patch) | |
tree | cb7776cfb0916f529042b4ffd2249404a3aaefdb /kernel/rtlil.h | |
parent | ba83a7bdc641c68344b41f407323c76b8c62c674 (diff) | |
download | yosys-98442e019d745f1d61983c071decfa3ebc1ff0cf.tar.gz yosys-98442e019d745f1d61983c071decfa3ebc1ff0cf.tar.bz2 yosys-98442e019d745f1d61983c071decfa3ebc1ff0cf.zip |
Added emscripten (emcc) support to build system and some build fixes
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 8b3306f6f..ebfe4ca29 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -77,7 +77,7 @@ namespace RTLIL // the global id string cache struct char_ptr_cmp { - bool operator()(const char *a, const char *b) { + bool operator()(const char *a, const char *b) const { for (int i = 0; a[i] || b[i]; i++) if (a[i] != b[i]) return a[i] < b[i]; @@ -815,8 +815,7 @@ struct RTLIL::Cell protected: // use module->addCell() and module->remove() to create or destroy cells friend struct RTLIL::Module; - Cell() : module(nullptr) { }; - ~Cell() { }; + Cell(); public: // do not simply copy cells |