From a7c24ca48995cf2bf436156302f96b91bf135409 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Mon, 13 Nov 2017 15:03:31 +0100 Subject: Code modernize ... * replace 0/NULL with nullptr [using clang-tidy] --- plugins/TabSRMM/src/templates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/templates.cpp') diff --git a/plugins/TabSRMM/src/templates.cpp b/plugins/TabSRMM/src/templates.cpp index 114186c985..0ab41c7c6e 100644 --- a/plugins/TabSRMM/src/templates.cpp +++ b/plugins/TabSRMM/src/templates.cpp @@ -155,7 +155,7 @@ void CTemplateEditDlg::OnInitDialog() m_hContact = db_find_first(); m_szProto = GetContactProto(m_hContact); - while (m_szProto == 0 && m_hContact != 0) { + while (m_szProto == nullptr && m_hContact != 0) { m_hContact = db_find_next(m_hContact); m_szProto = GetContactProto(m_hContact); } -- cgit v1.2.3