mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57:30 +09:00
Issue #80 - De-unify layout/style
This commit is contained in:
parent
1b39899185
commit
f7493bacb5
20 changed files with 39 additions and 15 deletions
|
|
@ -345,7 +345,7 @@ public:
|
|||
// KTableEntry objects can be initialized either with an int16_t value
|
||||
// or a value of an enumeration type that can fit within an int16_t.
|
||||
|
||||
constexpr KTableEntry(nsCSSKeyword aKeyword, int16_t aValue)
|
||||
KTableEntry(nsCSSKeyword aKeyword, int16_t aValue)
|
||||
: mKeyword(aKeyword)
|
||||
, mValue(aValue)
|
||||
{
|
||||
|
|
@ -353,7 +353,7 @@ public:
|
|||
|
||||
template<typename T,
|
||||
typename = typename std::enable_if<std::is_enum<T>::value>::type>
|
||||
constexpr KTableEntry(nsCSSKeyword aKeyword, T aValue)
|
||||
KTableEntry(nsCSSKeyword aKeyword, T aValue)
|
||||
: mKeyword(aKeyword)
|
||||
, mValue(static_cast<int16_t>(aValue))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue