From c8d190a000ec121372297f0ca0173da09127c77b Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 1 Apr 2012 08:22:59 +0000 Subject: [PATCH] Use NULL instead of 0. --- src/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.hpp b/src/config.hpp index 6af05389d19..7656058c992 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -100,7 +100,7 @@ public: { return this != &invalid; } #else operator safe_bool() const - { return this != &invalid ? &safe_bool_impl::nonnull : 0; } + { return this != &invalid ? &safe_bool_impl::nonnull : NULL; } #endif typedef std::vector child_list;