| 74 | } |
| 75 | |
| 76 | inline void WarnOldSerialization() { |
| 77 | // Display it once is enough. Otherwise this can be really verbose in distributed |
| 78 | // environments. |
| 79 | static thread_local bool logged{false}; |
| 80 | if (logged) { |
| 81 | return; |
| 82 | } |
| 83 | LOG(WARNING) << OldSerialization(); |
| 84 | logged = true; |
| 85 | } |
| 86 | |
| 87 | [[nodiscard]] std::string InvalidModel(StringView fname); |
| 88 |
no test coverage detected