From: Sahand Kashani-Akhavan Date: Mon, 23 Mar 2020 07:56:28 +0000 (+0100) Subject: Const parameter in function (backends/firrtl/firrtl.cc) X-Git-Tag: working-ls180~630^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=566e08485a93c07d9db2162250a56ab6952a06e3;p=yosys.git Const parameter in function (backends/firrtl/firrtl.cc) Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com> --- diff --git a/backends/firrtl/firrtl.cc b/backends/firrtl/firrtl.cc index a6cb9cfbe..a4bfe8549 100644 --- a/backends/firrtl/firrtl.cc +++ b/backends/firrtl/firrtl.cc @@ -96,7 +96,7 @@ void dump_const(std::ostream &f, const RTLIL::Const &data, int width = -1, int o } } -std::string getFileinfo(dict attributes) +std::string getFileinfo(const dict &attributes) { std::ostringstream fileinfo; for (auto &it : attributes) {