Bug 1027251: Disable destructor checking on Windows. r=me

This commit is contained in:
Kyle Huey 2014-06-20 07:33:00 -07:00
parent 9a426539c5
commit d46f3641a6
2 changed files with 3 additions and 6 deletions

View File

@ -46,9 +46,10 @@ public:
* Note: Can be called from any thread.
*/
nsresult Trigger();
~Probe() {};
protected:
~Probe() {};
Probe(const nsCID &aGUID,
const nsACString &aName,
ProbeManager *aManager);
@ -145,9 +146,9 @@ public:
*/
bool IsActive();
protected:
~ProbeManager();
protected:
nsresult StartSession(nsTArray<nsRefPtr<Probe> > &probes);
nsresult Init(const nsCID &applicationUID, const nsACString &applicationName);

View File

@ -428,10 +428,6 @@ struct HasDangerousPublicDestructor
# elif MOZ_GCC_VERSION_AT_LEAST(4, 8, 2)
# define MOZ_CAN_USE_IS_DESTRUCTIBLE_FALLBACK
# endif
#elif defined(_MSC_VER)
# if _MSC_VER >= 1700
# define MOZ_HAVE_STD_IS_DESTRUCTIBLE
# endif
#endif
#ifdef MOZ_HAVE_STD_IS_DESTRUCTIBLE