diff options
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index a6617ae4..d58ae529 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -579,10 +579,7 @@ struct BaseCtx const Context *getCtx() const { return reinterpret_cast<const Context *>(this); } - const char *nameOf(IdString name) const - { - return name.c_str(this); - } + const char *nameOf(IdString name) const { return name.c_str(this); } template <typename T> const char *nameOf(const T *obj) const { |