Fix ConformerParser to use const std::string &

In #627, `readAmberTrajectory` in ConformerParser.h is updated to use `const std::string &`. This updates the corresponding method in ConformerParser.cpp to match. I needed to do this to compile RDKit with contrib.
This commit is contained in:
Matt Swain
2016-01-19 14:06:45 +00:00
parent d63aa1b72f
commit 97f6783f80

View File

@@ -69,7 +69,7 @@ namespace RDKit{
return confIds;
}
void readAmberTrajectory(std::string fName, std::vector<std::vector<double> > &coords,
void readAmberTrajectory(const std::string &fName, std::vector<std::vector<double> > &coords,
unsigned int numAtoms) {
std::ifstream inStream(fName.c_str());
if (!inStream || (inStream.bad()) ) {