diff --git a/xpcom/base/nsCOMPtr.h b/xpcom/base/nsCOMPtr.h index c33a69a9d2b3..0d72c7af80c1 100644 --- a/xpcom/base/nsCOMPtr.h +++ b/xpcom/base/nsCOMPtr.h @@ -340,7 +340,7 @@ class nsCOMPtr_base } #ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR - ~nsCOMPtr_base(); + NS_EXPORT ~nsCOMPtr_base(); #endif #if 0 @@ -637,7 +637,7 @@ SameCOMIdentity( nsISupports* lhs, nsISupports* rhs ) #endif // defined(NSCAP_FEATURE_ALLOW_COMPARISONS) - +#if 0 template inline nsresult @@ -649,7 +649,7 @@ CallQueryInterface( SourceType* aSource, nsCOMPtr* aDestination return aSource->QueryInterface(DestinationType::GetIID(), NS_STATIC_CAST(void**, getter_AddRefs(*aDestination))); } - +#endif #endif // !defined(nsCOMPtr_h___) diff --git a/xpcom/glue/nsCOMPtr.h b/xpcom/glue/nsCOMPtr.h index c33a69a9d2b3..0d72c7af80c1 100644 --- a/xpcom/glue/nsCOMPtr.h +++ b/xpcom/glue/nsCOMPtr.h @@ -340,7 +340,7 @@ class nsCOMPtr_base } #ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR - ~nsCOMPtr_base(); + NS_EXPORT ~nsCOMPtr_base(); #endif #if 0 @@ -637,7 +637,7 @@ SameCOMIdentity( nsISupports* lhs, nsISupports* rhs ) #endif // defined(NSCAP_FEATURE_ALLOW_COMPARISONS) - +#if 0 template inline nsresult @@ -649,7 +649,7 @@ CallQueryInterface( SourceType* aSource, nsCOMPtr* aDestination return aSource->QueryInterface(DestinationType::GetIID(), NS_STATIC_CAST(void**, getter_AddRefs(*aDestination))); } - +#endif #endif // !defined(nsCOMPtr_h___) diff --git a/xpcom/public/nsCOMPtr.h b/xpcom/public/nsCOMPtr.h index c33a69a9d2b3..0d72c7af80c1 100644 --- a/xpcom/public/nsCOMPtr.h +++ b/xpcom/public/nsCOMPtr.h @@ -340,7 +340,7 @@ class nsCOMPtr_base } #ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR - ~nsCOMPtr_base(); + NS_EXPORT ~nsCOMPtr_base(); #endif #if 0 @@ -637,7 +637,7 @@ SameCOMIdentity( nsISupports* lhs, nsISupports* rhs ) #endif // defined(NSCAP_FEATURE_ALLOW_COMPARISONS) - +#if 0 template inline nsresult @@ -649,7 +649,7 @@ CallQueryInterface( SourceType* aSource, nsCOMPtr* aDestination return aSource->QueryInterface(DestinationType::GetIID(), NS_STATIC_CAST(void**, getter_AddRefs(*aDestination))); } - +#endif #endif // !defined(nsCOMPtr_h___)