Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Barber committed May 6, 2019
1 parent 9b0f578 commit a2b26f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/internal/wt_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ namespace dyn{
child1_ = new node(this);

map<char_type, vector<bool>> new_Bs;
for_each(Bs.begin(), Bs.end(), [&new_Bs](const auto &pair) {
for_each(Bs.begin(), Bs.end(), [&new_Bs, &j](const auto &pair) {
if (pair.second[j])
new_Bs.insert(pair);
});
Expand All @@ -523,7 +523,7 @@ namespace dyn{
child0_ = new node(this);

map<char_type, vector<bool>> new_Bs;
for_each(partition.begin(), partition.end(), [&](const auto &pair) {
for_each(Bs.begin(), Bs.end(), [&new_Bs, &j](const auto &pair) {
if (!pair.second[j])
new_Bs.insert(pair);
});
Expand Down

0 comments on commit a2b26f7

Please sign in to comment.