From dc31b7e71072ebf9d8b5c5981eac9b9765aee411 Mon Sep 17 00:00:00 2001 From: "jaggernaut%netscape.com" Date: Wed, 10 Oct 2001 07:51:08 +0000 Subject: [PATCH] Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc. --- xpcom/glue/nsCOMPtr.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/xpcom/glue/nsCOMPtr.h b/xpcom/glue/nsCOMPtr.h index 8b4d6ad2590c..71ee73b447b4 100644 --- a/xpcom/glue/nsCOMPtr.h +++ b/xpcom/glue/nsCOMPtr.h @@ -380,20 +380,6 @@ do_QueryInterface( already_AddRefed&, nsresult* ) - /** - * |null_nsCOMPtr| is deprecated. Please use the value |0| instead. - * |#define|s are bad, because they aren't scoped. But I can't replace - * this definition with an inline, because only a compile-time |0| gets - * magically converted to arbitrary pointer types. This doesn't automatically - * happen for just any |const int| with the value |0|. - * - * Ergo: we really want to eliminate all uses of |null_nsCOMPtr()| in favor of - * |0|. - */ -#define null_nsCOMPtr() (0) - - - class nsCOMPtr_base /* ...factors implementation for all template versions of |nsCOMPtr|.