Removes method isDisruptive from Action class

This commit is contained in:
Felipe Zimmerle
2020-06-05 11:51:45 -03:00
parent 61c4319b14
commit f703e5795f
5 changed files with 766 additions and 771 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1188,7 +1188,8 @@ expression:
int secRuleDefinedPhase = -1;
for (actions::Action *a : *actions) {
actions::Phase *phase = dynamic_cast<actions::Phase *>(a);
if (a->isDisruptive() == true && dynamic_cast<actions::Block *>(a) == NULL) {
if (dynamic_cast<actions::disruptive::ActionDisruptive *>(a) != NULL
&& dynamic_cast<actions::Block *>(a) == NULL) {
hasDisruptive = true;
}
if (phase != NULL) {