diff options
Diffstat (limited to 'src/Style.cxx')
| -rw-r--r-- | src/Style.cxx | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/Style.cxx b/src/Style.cxx index ae5fa6aa3..00cf698ab 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -35,7 +35,7 @@ bool FontSpecification::operator<(const FontSpecification &other) const noexcept  	if (weight != other.weight)  		return weight < other.weight;  	if (italic != other.italic) -		return italic == false; +		return !italic;  	if (size != other.size)  		return size < other.size;  	if (characterSet != other.characterSet) @@ -83,8 +83,7 @@ Style::Style(const Style &source) noexcept : FontSpecification(), FontMeasuremen  	hotspot = source.hotspot;  } -Style::~Style() { -} +Style::~Style() = default;  Style &Style::operator=(const Style &source) noexcept {  	if (this == &source) | 
