mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109729 - Fix more bad implicit constructors in mfbt; r=froydnj
This commit is contained in:
parent
0f9906bbcc
commit
c13155ecb9
@ -114,7 +114,7 @@ public:
|
||||
// check that the actual segment size is as close as possible to it. This
|
||||
// serves as a sanity check for SegmentedVectorCapacity's capacity
|
||||
// computation.
|
||||
SegmentedVector(size_t aIdealSegmentSize = 0)
|
||||
explicit SegmentedVector(size_t aIdealSegmentSize = 0)
|
||||
{
|
||||
// The difference between the actual segment size and the ideal segment
|
||||
// size should be less than the size of a single element... unless the
|
||||
@ -192,7 +192,7 @@ public:
|
||||
Segment* mSegment;
|
||||
size_t mIndex;
|
||||
|
||||
IterImpl(SegmentedVector* aVector)
|
||||
explicit IterImpl(SegmentedVector* aVector)
|
||||
: mSegment(aVector->mSegments.getFirst())
|
||||
, mIndex(0)
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user