mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
Bug 1079319 - Fix some more bad implicit constructors in intl; r=smontagu
This commit is contained in:
parent
b3f3928b2a
commit
917934b1e1
@ -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…
x
Reference in New Issue
Block a user