Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(410)

Unified Diff: lily/include/pango-font.hh

Issue 551320043: Issue 5650: Use C++11 "override" keyword (Closed)
Patch Set: Compile with -Werror=suggest-override, when supported Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/include/page-turn-page-breaking.hh ('k') | lily/include/paper-column.hh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/include/pango-font.hh
diff --git a/lily/include/pango-font.hh b/lily/include/pango-font.hh
index 3fdc6e9b3201fe36f149dd5bdfc14254174de071..3ad32b816c3209c1f37bafdb3edb89e79a5265d8 100644
--- a/lily/include/pango-font.hh
+++ b/lily/include/pango-font.hh
@@ -51,10 +51,10 @@ public:
~Pango_font ();
string description_string () const;
- SCM font_file_name () const;
+ SCM font_file_name () const override;
void register_font_file (const string &filename, const string &ps_name, int face_index);
- size_t name_to_index (string) const;
+ size_t name_to_index (string) const override;
SCM get_glyph_outline (size_t signed_idx) const;
Box get_glyph_outline_bbox (size_t signed_idx) const;
Box get_unscaled_indexed_char_dimensions (size_t) const;
@@ -62,11 +62,11 @@ public:
Stencil pango_item_string_stencil (PangoGlyphItem const *) const;
- virtual Stencil text_stencil (Output_def *output_state,
- const string &text,
- bool music,
- const string &features_str) const;
- virtual void derived_mark () const;
+ Stencil text_stencil (Output_def *output_state,
+ const string &text,
+ bool music,
+ const string &features_str) const override;
+ void derived_mark () const override;
};
PangoFontDescription *
« no previous file with comments | « lily/include/page-turn-page-breaking.hh ('k') | lily/include/paper-column.hh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b