Skip to content

Commit 18ea9b9

Browse files
authored
Merge pull request #4262 from pleroy/Clang
Clang 19 has removed the base template for char_traits
2 parents 0eef444 + 7c28242 commit 18ea9b9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

journal/profiles.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ std::uint64_t SerializePointer(T* t) {
7373
// Note that the string constructed here contains the final char16_t null.
7474
return std::string(
7575
reinterpret_cast<char const*>(deserialized),
76-
sizeof(char16_t) *
77-
(std::char_traits<char16_t const>::length(deserialized)));
76+
sizeof(char16_t) * (std::char_traits<char16_t>::length(deserialized)));
7877
}
7978

8079
} // namespace

0 commit comments

Comments
 (0)