Update StringBuilder.h

Fix nullptr_t to std::nullptr_t
This commit is contained in:
Andy Vandijck 2024-03-05 11:12:34 +01:00 committed by GitHub
parent 72d1a8edf2
commit 1926729680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class StringBuilder
{
public:
// Helper struct. Do not use directly.
template <unsigned Radix, typename T, typename Prefix = nullptr_t>
template <unsigned Radix, typename T, typename Prefix = std::nullptr_t>
struct IntInfo
{
T x;
@ -111,7 +111,7 @@ public:
}
protected:
inline StringBuilder &operator <<(nullptr_t)
inline StringBuilder &operator <<(std::nullptr_t)
{
return *this;
}