Skip to content

Commit adb7dba

Browse files
committed
1 parent ba47a4b commit adb7dba

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/tinyformat.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,9 @@ class FormatArg
508508
{
509509
public:
510510
FormatArg()
511-
: m_value(NULL),
512-
m_formatImpl(NULL),
513-
m_toIntImpl(NULL)
511+
: m_value(nullptr),
512+
m_formatImpl(nullptr),
513+
m_toIntImpl(nullptr)
514514
{ }
515515

516516
template<typename T>
@@ -1005,7 +1005,8 @@ class FormatListN : public FormatList
10051005
// Special 0-arg version - MSVC says zero-sized C array in struct is nonstandard
10061006
template<> class FormatListN<0> : public FormatList
10071007
{
1008-
public: FormatListN() : FormatList(0, 0) {}
1008+
public:
1009+
FormatListN() : FormatList(nullptr, 0) {}
10091010
};
10101011

10111012
} // namespace detail

0 commit comments

Comments
 (0)