@@ -447,10 +447,10 @@ std::vector<std::unique_ptr<collection::Variable>> Rule::getFinalVars(
447
447
std::vector<const collection::Variable *> z;
448
448
a.second ->evaluateInternal (trans, this , &z);
449
449
for (auto &y : z) {
450
- exclusions_update_by_tag_remove.push_back (y->m_key );
450
+ exclusions_update_by_tag_remove.push_back (std::string ( y->m_key ) );
451
451
delete y;
452
452
}
453
- exclusions_update_by_tag_remove.push_back (a.second ->m_name );
453
+ exclusions_update_by_tag_remove.push_back (std::string ( a.second ->m_name ) );
454
454
455
455
} else {
456
456
Variable *b = a.second .get ();
@@ -466,10 +466,10 @@ std::vector<std::unique_ptr<collection::Variable>> Rule::getFinalVars(
466
466
std::vector<const collection::Variable *> z;
467
467
a.second ->evaluateInternal (trans, this , &z);
468
468
for (auto &y : z) {
469
- exclusions_update_by_id_remove.push_back (y->m_key );
469
+ exclusions_update_by_id_remove.push_back (std::string ( y->m_key ) );
470
470
delete y;
471
471
}
472
- exclusions_update_by_id_remove.push_back (a.second ->m_name );
472
+ exclusions_update_by_id_remove.push_back (std::string ( a.second ->m_name ) );
473
473
} else {
474
474
Variable *b = a.second .get ();
475
475
variables.push_back (b);
@@ -482,10 +482,10 @@ std::vector<std::unique_ptr<collection::Variable>> Rule::getFinalVars(
482
482
std::vector<const collection::Variable *> z;
483
483
variable->evaluateInternal (trans, this , &z);
484
484
for (auto &y : z) {
485
- exclusions.push_back (y->m_key );
485
+ exclusions.push_back (std::string ( y->m_key ) );
486
486
delete y;
487
487
}
488
- exclusions.push_back (variable->m_name );
488
+ exclusions.push_back (std::string ( variable->m_name ) );
489
489
}
490
490
}
491
491
0 commit comments