Bug 883501 - Fix -Wreorder warning in xpcom/base/nsConsoleMessage.cpp. r=msucan
authorChris Peterson <cpeterson@mozilla.com>
Thu, 13 Jun 2013 20:46:23 -0700
changeset 147047 6c5e99d67cd0016d8e282e2ffcb014cd5e1fabfd
parent 147046 04d60f86b935af3423614eb10e71b6fb646e114d
child 147048 b6b8be9f8e0dbb295f5661d385d4ee2a61e9d720
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmsucan
bugs883501
milestone24.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 883501 - Fix -Wreorder warning in xpcom/base/nsConsoleMessage.cpp. r=msucan
xpcom/base/nsConsoleMessage.cpp
--- a/xpcom/base/nsConsoleMessage.cpp
+++ b/xpcom/base/nsConsoleMessage.cpp
@@ -9,18 +9,18 @@
 
 #include "nsConsoleMessage.h"
 #include "nsReadableUtils.h"
 #include "jsapi.h"
 
 NS_IMPL_THREADSAFE_ISUPPORTS1(nsConsoleMessage, nsIConsoleMessage)
 
 nsConsoleMessage::nsConsoleMessage()
-    :  mMessage(),
-       mTimeStamp(0)
+    :  mTimeStamp(0),
+       mMessage()
 {
 }
 
 nsConsoleMessage::nsConsoleMessage(const PRUnichar *message)
 {
   mTimeStamp = JS_Now() / 1000;
   mMessage.Assign(message);
 }