mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1079319 - Fix some more bad implicit constructors in intl; r=smontagu
This commit is contained in:
parent
87d062a280
commit
1feb66dfab
@ -12,7 +12,7 @@ namespace {
|
||||
struct PropertyComparator
|
||||
{
|
||||
const nsCString& mKey;
|
||||
PropertyComparator(const nsCString& aKey) : mKey(aKey) {}
|
||||
explicit PropertyComparator(const nsCString& aKey) : mKey(aKey) {}
|
||||
int operator()(const char* (&aProperty)[3]) const {
|
||||
return mKey.Compare(aProperty[0]);
|
||||
}
|
||||
|
@ -242,7 +242,7 @@ namespace {
|
||||
struct SequenceAdaptor
|
||||
{
|
||||
const composition* const mSequence;
|
||||
SequenceAdaptor(const composition* aSequence) : mSequence(aSequence) {}
|
||||
explicit SequenceAdaptor(const composition* aSequence) : mSequence(aSequence) {}
|
||||
uint32_t operator[](size_t aIdx) const {
|
||||
return mSequence[aIdx].c2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user