diff examples/dsl/screen.h @ 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 13d2b8934445
children
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;