mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1085312 - Document why ColorPattern ctor is marked explicit. r=Bas
This commit is contained in:
parent
6dbdde097f
commit
81a3818309
@ -188,6 +188,8 @@ protected:
|
||||
class ColorPattern : public Pattern
|
||||
{
|
||||
public:
|
||||
// Explicit because consumers should generally use ToDeviceColor when
|
||||
// creating a ColorPattern.
|
||||
explicit ColorPattern(const Color &aColor)
|
||||
: mColor(aColor)
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user