From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- include/m_database.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/m_database.h') diff --git a/include/m_database.h b/include/m_database.h index 9cd38c1273..41ce36bef5 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -208,7 +208,7 @@ are no contacts in the db. */ #if defined(__cplusplus) -EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_first(const char *szProto = NULL); +EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_first(const char *szProto = nullptr); #else EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_first(const char *szProto); #endif @@ -222,7 +222,7 @@ hContact was the last contact in the db or hContact was invalid. */ #if defined(__cplusplus) -EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szProto = NULL); +EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szProto = nullptr); #else EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szProto); #endif -- cgit v1.2.3