We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
modernize-use-nullptr
2 parents caa2240 + adb7dba commit 6c01323Copy full SHA for 6c01323
src/tinyformat.h
@@ -508,9 +508,9 @@ class FormatArg
508
{
509
public:
510
FormatArg()
511
- : m_value(NULL),
512
- m_formatImpl(NULL),
513
- m_toIntImpl(NULL)
+ : m_value(nullptr),
+ m_formatImpl(nullptr),
+ m_toIntImpl(nullptr)
514
{ }
515
516
template<typename T>
@@ -1005,7 +1005,8 @@ class FormatListN : public FormatList
1005
// Special 0-arg version - MSVC says zero-sized C array in struct is nonstandard
1006
template<> class FormatListN<0> : public FormatList
1007
1008
- public: FormatListN() : FormatList(0, 0) {}
+public:
1009
+ FormatListN() : FormatList(nullptr, 0) {}
1010
};
1011
1012
} // namespace detail
0 commit comments