Bug 718382 - IPCMessageUtils.h(70) : warning C4099: 'base::FileDescriptor' : type name first seen using 'struct' now seen using 'class'. r=cjones
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Wed, 18 Jan 2012 11:01:51 +0900
changeset 85993 2cf8cd8656321a70bef63f9042dfeab9bb660c8c
parent 85992 924d6091bec7b8d8a9974d020cf09d52129487c4
child 85994 7080b6f34d32d71d3cdd2bc4fb5695d5e550e5f2
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs718382
milestone12.0a1
Bug 718382 - IPCMessageUtils.h(70) : warning C4099: 'base::FileDescriptor' : type name first seen using 'struct' now seen using 'class'. r=cjones
ipc/glue/IPCMessageUtils.h
--- a/ipc/glue/IPCMessageUtils.h
+++ b/ipc/glue/IPCMessageUtils.h
@@ -62,17 +62,17 @@
 #endif
 
 #if !defined(OS_POSIX)
 // This condition must be kept in sync with the one in
 // ipc_message_utils.h, but this dummy definition of
 // base::FileDescriptor acts as a static assert that we only get one
 // def or the other (or neither, in which case code using
 // FileDescriptor fails to build)
-namespace base { class FileDescriptor { }; }
+namespace base { struct FileDescriptor { }; }
 #endif
 
 using mozilla::layers::LayerManager;
 
 namespace mozilla {
 
 typedef gfxPattern::GraphicsFilter GraphicsFilterType;
 typedef gfxASurface::gfxSurfaceType gfxSurfaceType;