Mercurial > ~dholland > hg > ag > index.cgi
changeset 14:a02e9434072e
Fix friend declaration for gcc10.
XXX: did not check it against the IBM compiler, might end up needing
XXX: to be conditional.
author | David A. Holland |
---|---|
date | Tue, 31 May 2022 00:59:42 -0400 |
parents | 43d8b194fb4e |
children | f5acaf0c8a29 |
files | examples/dsl/screen.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/dsl/screen.h Tue May 31 00:59:00 2022 -0400 +++ b/examples/dsl/screen.h Tue May 31 00:59:42 2022 -0400 @@ -88,7 +88,7 @@ screen_rect at(int,int,int = 0); // Build a single line rectange at absolute coordinates - friend screen_rect line(int, int, int, int = 0); + friend screen_rect line(int, int, int, int /*= 0*/); // Build a single line rectangle at relative coordinates screen_rect line(int,int,int,int = 0) const;