Bug 1330481 - Fix "error: a storage class can only be specified for objects and functions". r?decoder draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 12 Jan 2017 11:01:37 +0900
changeset 462796 ac9b535141f31ad86545730a83c15655bf0aace7
parent 462795 6b46b8d889dfcf921c7823655cf1b92c55451c2f
child 462797 f8a2e2fbcecfe7839277dc14728c3ae2d76626d8
push id41857
push userbmo:mh+mozilla@glandium.org
push dateWed, 18 Jan 2017 00:24:11 +0000
reviewersdecoder
bugs1330481
milestone53.0a1
Bug 1330481 - Fix "error: a storage class can only be specified for objects and functions". r?decoder
tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
--- a/tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
+++ b/tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
@@ -70,17 +70,17 @@ void passed(const char* msg, ...)
   vprintf(msg, ap);
   va_end(ap);
 
   putchar('\n');
 }
 
 //-----------------------------------------------------------------------------
 
-static class ScopedXPCOM : public nsIDirectoryServiceProvider2
+class ScopedXPCOM : public nsIDirectoryServiceProvider2
 {
   public:
     NS_DECL_ISUPPORTS
 
     explicit ScopedXPCOM(const char* testName,
                          nsIDirectoryServiceProvider *dirSvcProvider = nullptr)
     : mDirSvcProvider(dirSvcProvider)
     {