mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
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:
@@ -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()) ) {
|
||||
|
||||
Reference in New Issue
Block a user