From 294dc29f7f33b566dec2f047ac4bb8ba28cd4702 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 23 Jun 2013 12:02:59 -0700 Subject: util: avoid GNU extension usage Redeclaration of forward declares is a GNU extension. This is unnecessary as it has been already forward declarated at the appropriate point. This helps compatibility with clang. Signed-off-by: Saleem Abdulrasool --- paludis/util/singleton.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/paludis/util/singleton.hh b/paludis/util/singleton.hh index 7d213494e..1ceda464e 100644 --- a/paludis/util/singleton.hh +++ b/paludis/util/singleton.hh @@ -51,8 +51,6 @@ namespace paludis static void _delete(OurType_ * const p); - class DeleteOnDestruction; - public: ///\name Basic operations ///\{ -- cgit v1.2.3