Bug 1330481 - Fix "error: a storage class can only be specified for objects and functions". r=decoder
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 12 Jan 2017 11:01:37 +0900
changeset 374987 065803891c856a98ab946a755301194f3fc9c82b
parent 374986 abb7ae94f6ec9fadb43f81637cddab9d762587aa
child 374988 fbd02ad448ebecb3b6ad03708b52878c86c95812
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdecoder
bugs1330481
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)
     {