Fix a couple residual problems created by #2899 (#2935)

This commit is contained in:
Greg Landrum
2020-02-05 16:32:08 +01:00
committed by GitHub
parent 9188c70a64
commit 1830767d5d
2 changed files with 4 additions and 2 deletions

View File

@@ -415,8 +415,9 @@ std::vector<MatchVectType> SubstructMatch(
if (nt == 1) {
detail::ResSubstructMatchHelper_(args, &matches, 0,
resMolSupplier.length());
}
#ifdef RDK_THREADSAFE_SSS
} else {
else {
std::vector<std::future<void>> tg;
std::vector<std::vector<MatchVectType> *> matchesThread(nt);
unsigned int ei = 0;