This commit is contained in:
J. Nick Koston
2025-06-26 00:24:53 +02:00
parent 78d84644c9
commit 5e3ec2d34b

View File

@@ -565,7 +565,8 @@ class APIConnection : public APIServerConnection {
// Get the actual string pointer (clears the tag bit)
std::string *get_string_ptr_() const {
return reinterpret_cast<std::string *>(data_.tagged & ~uintptr_t(1)); // NOLINT(performance-no-int-to-ptr)
// NOLINTNEXTLINE(performance-no-int-to-ptr)
return reinterpret_cast<std::string *>(data_.tagged & ~uintptr_t(1));
}
union {