///////////////////////////////////////////////////////////////////////////
| 935 | |
| 936 | //////////////////////////////////////////////////////////////////////////////// |
| 937 | void Task::removeAnnotations() { |
| 938 | // Erase old annotations. |
| 939 | auto i = data.begin(); |
| 940 | while (i != data.end()) { |
| 941 | if (!i->first.compare(0, 11, "annotation_", 11)) { |
| 942 | --annotation_count; |
| 943 | data.erase(i++); |
| 944 | } else |
| 945 | i++; |
| 946 | } |
| 947 | |
| 948 | recalc_urgency = true; |
| 949 | } |
| 950 | |
| 951 | //////////////////////////////////////////////////////////////////////////////// |
| 952 | std::map<std::string, std::string> Task::getAnnotations() const { |
nothing calls this directly
no outgoing calls
no test coverage detected