Const parameter in function (backends/firrtl/firrtl.cc)

Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
This commit is contained in:
Sahand Kashani-Akhavan 2020-03-23 08:56:28 +01:00 committed by GitHub
parent 21492914a2
commit 566e08485a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ void dump_const(std::ostream &f, const RTLIL::Const &data, int width = -1, int o
}
}
std::string getFileinfo(dict<RTLIL::IdString, RTLIL::Const> attributes)
std::string getFileinfo(const dict<RTLIL::IdString, RTLIL::Const> &attributes)
{
std::ostringstream fileinfo;
for (auto &it : attributes) {