| 90 | } |
| 91 | |
| 92 | int cmValue::Compare(cmValue value) const noexcept |
| 93 | { |
| 94 | if (!this->Value && !value) { |
| 95 | return 0; |
| 96 | } |
| 97 | if (!this->Value) { |
| 98 | return -1; |
| 99 | } |
| 100 | if (!value) { |
| 101 | return 1; |
| 102 | } |
| 103 | return this->Value->compare(*value); |
| 104 | } |
| 105 | |
| 106 | int cmValue::Compare(cm::string_view value) const noexcept |
| 107 | { |