diff --git a/Contrib/ConformerParser/ConformerParser.cpp b/Contrib/ConformerParser/ConformerParser.cpp index 494d10d64..eaf5da95d 100644 --- a/Contrib/ConformerParser/ConformerParser.cpp +++ b/Contrib/ConformerParser/ConformerParser.cpp @@ -69,7 +69,7 @@ namespace RDKit{ return confIds; } - void readAmberTrajectory(std::string fName, std::vector > &coords, + void readAmberTrajectory(const std::string &fName, std::vector > &coords, unsigned int numAtoms) { std::ifstream inStream(fName.c_str()); if (!inStream || (inStream.bad()) ) {