Commit 47ae50f7 by Maarten L. Hekkelman

only load compound when really needed

parent 33bdd6ae
...@@ -303,7 +303,7 @@ struct AtomImpl ...@@ -303,7 +303,7 @@ struct AtomImpl
std::string compID; std::string compID;
cif::tie(compID) = mRow.get("label_comp_id"); cif::tie(compID) = mRow.get("label_comp_id");
mCompound = Compound::create(compID); mCompound = CompoundFactory::instance().get(compID);
} }
void reference() void reference()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment