From 76683a1e3c123d28deff750c38467c6377936879 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 16 Feb 2022 17:09:54 +0000 Subject: refactor: Use constids instead of id("..") Signed-off-by: gatecat --- ecp5/lpf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp5/lpf.cc') diff --git a/ecp5/lpf.cc b/ecp5/lpf.cc index 3fd840cd..70ebfe81 100644 --- a/ecp5/lpf.cc +++ b/ecp5/lpf.cc @@ -134,7 +134,7 @@ bool Arch::apply_lpf(std::string filename, std::istream &in) if (words.size() > 5) log_error("unexpected input following LOCATE clause (on line %d)\n", lineno); if (fnd_cell != cells.end()) { - fnd_cell->second->attrs[id("LOC")] = strip_quotes(words.at(4)); + fnd_cell->second->attrs[id_LOC] = strip_quotes(words.at(4)); } } else if (verb == "IOBUF") { if (words.size() < 3) -- cgit v1.2.3