diff --git a/indra/llcommon/lleventapi.h b/indra/llcommon/lleventapi.h
index a0194585533c976c9d50831cb002248489aa4ab9..25f6becd8bac2b67a8f5e71d21f2b4681b36c5a8 100644
--- a/indra/llcommon/lleventapi.h
+++ b/indra/llcommon/lleventapi.h
@@ -37,8 +37,6 @@
 
 namespace LL
 {
-    template <class EVENTAPI>
-    class LazyEventAPI;
     class LazyEventAPIParams;
 }
 
@@ -52,8 +50,6 @@ class LL_COMMON_API LLEventAPI: public LLDispatchListener,
 {
     typedef LLDispatchListener lbase;
     typedef LLInstanceTracker<LLEventAPI, std::string> ibase;
-    template <class EVENTAPI>
-    friend class LL::LazyEventAPI;
 
 public: