| 783 | } |
| 784 | |
| 785 | static bool deleteConstraint(std::string name) |
| 786 | { |
| 787 | for (size_t i = 0; i < constraints.size(); i++) |
| 788 | { |
| 789 | if (constraints[i]->config.val() != name) |
| 790 | continue; |
| 791 | |
| 792 | delete_constraint(constraints[i]); |
| 793 | return true; |
| 794 | } |
| 795 | |
| 796 | return false; |
| 797 | } |
| 798 | |
| 799 | /****************************** |
| 800 | * JOB-CONSTRAINT MAPPING * |
no test coverage detected