Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says

This commit is contained in:
JustOff 2019-03-13 20:17:36 +02:00 • committed by Roy Tam
commit 8547419267
3 changed files with 41 additions and 11 deletions

View file

@ -47,7 +47,7 @@ template<typename KeyType, typename ValueType>
class Record
{
public:
typedef typename binding_detail::RecordEntry<nsString, ValueType> EntryType;
typedef typename binding_detail::RecordEntry<KeyType, ValueType> EntryType;
typedef Record<KeyType, ValueType> SelfType;
Record()