### [Codacy](https://app.codacy.com/manual/plaggm/NeMo2/commit?cid=481812585) detected an issue: #### Message: `Function parameter 'filename' should be passed by const reference.` #### Occurred on: + **Commit**: ca9cefcb45638b0b20641ddac63c23485d72536d + **File**: [test/test_model_reader.cpp](https://github.com/markplagge/NeMo2/blob/ca9cefcb45638b0b20641ddac63c23485d72536d/test/test_model_reader.cpp) + **LineNum**: [60](https://github.com/markplagge/NeMo2/blob/ca9cefcb45638b0b20641ddac63c23485d72536d/test/test_model_reader.cpp#L60) + **Code**: `int get_num_needed_cores(std::string filename){` #### Currently on: + **Commit**: c4489424f02ac09aa56a8cac78b29544925c64b6 + **File**: [test/test_model_reader.cpp](https://github.com/markplagge/NeMo2/blob/c4489424f02ac09aa56a8cac78b29544925c64b6/test/test_model_reader.cpp) + **LineNum**: [60](https://github.com/markplagge/NeMo2/blob/c4489424f02ac09aa56a8cac78b29544925c64b6/test/test_model_reader.cpp#L60)
Codacy detected an issue:
Message:
Function parameter 'filename' should be passed by const reference.Occurred on:
int get_num_needed_cores(std::string filename){Currently on: