mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Bug 604160: Fix build warning "'nsGeoPosition::mCoords' will be initialized after [...] nsGeoPosition::mTimestamp". r=dougt a=dougt
This commit is contained in:
parent
dafd2c1966
commit
0b7c60ca34
@ -238,13 +238,12 @@ nsGeoPosition::nsGeoPosition(double aLat, double aLong,
|
||||
aAlt, aHError,
|
||||
aVError, aHeading,
|
||||
aSpeed);
|
||||
NS_ASSERTION(mCoords, "null mCoords in nsGeoPosition");
|
||||
}
|
||||
|
||||
nsGeoPosition::nsGeoPosition(nsIDOMGeoPositionCoords *aCoords,
|
||||
long long aTimestamp) :
|
||||
mCoords(aCoords),
|
||||
mTimestamp(aTimestamp)
|
||||
mTimestamp(aTimestamp),
|
||||
mCoords(aCoords)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user