| 50 | } |
| 51 | |
| 52 | void TypeInfo::AppendDebugStringForValue(const void *ptr, string *str) const { |
| 53 | if (KUDU_SHOULD_REDACT()) { |
| 54 | str->append(kRedactionMessage); |
| 55 | } else { |
| 56 | append_func_(ptr, str); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | int TypeInfo::Compare(const void *lhs, const void *rhs) const { |
| 61 | return compare_func_(lhs, rhs); |