diff options
Diffstat (limited to 'src/Style.h')
| -rw-r--r-- | src/Style.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/Style.h b/src/Style.h index 85663acf2..4bd79de14 100644 --- a/src/Style.h +++ b/src/Style.h @@ -27,7 +27,8 @@ struct FontSpecification {  		characterSet(0),  		extraFontFlag(0) {  	} -	bool EqualTo(const FontSpecification &other) const; +	bool operator==(const FontSpecification &other) const; +	bool operator<(const FontSpecification &other) const;  };  // Just like Font but only has a copy of the FontID so should not delete it @@ -77,7 +78,7 @@ public:  	           const char *fontName_, int characterSet_,  	           int weight_, bool italic_, bool eolFilled_,  	           bool underline_, ecaseForced caseForce_, -		   bool visible_, bool changeable_, bool hotspot_); +	           bool visible_, bool changeable_, bool hotspot_);  	void ClearTo(const Style &source);  	void Copy(Font &font_, const FontMeasurements &fm_);  	bool IsProtected() const { return !(changeable && visible);} | 
