Skip to content

Commit

Permalink
Bug 1379564 - Make BaseTimeDuration::Forever() constexpr. r=birtles
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: DFse9SD1taP

--HG--
extra : rebase_source : a23d92c8b959c7f680b06c223e266ff1646813b0
  • Loading branch information
Hiroyuki Ikezoe committed Jul 10, 2017
1 parent ef7ed06 commit 12c6f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mozglue/misc/TimeStamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class BaseTimeDuration
return FromMilliseconds(aMicroseconds / 1000.0);
}

static BaseTimeDuration Forever()
static constexpr BaseTimeDuration Forever()
{
return FromTicks(INT64_MAX);
}
Expand Down

0 comments on commit 12c6f62

Please sign in to comment.