From de3cd9c286a1b80f2548e01762fbfda78cc8a56e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 25 Mar 2023 23:22:34 -0400 Subject: [PATCH] Simplify namespace declaration. --- Components/9918/Implementation/YamahaCommands.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Components/9918/Implementation/YamahaCommands.hpp b/Components/9918/Implementation/YamahaCommands.hpp index 4aa666677..6254950bf 100644 --- a/Components/9918/Implementation/YamahaCommands.hpp +++ b/Components/9918/Implementation/YamahaCommands.hpp @@ -11,8 +11,7 @@ #include "AccessEnums.hpp" -namespace TI { -namespace TMS { +namespace TI::TMS { // MARK: - Generics. @@ -256,7 +255,7 @@ template struct Rectangle: public Command { // (aside: it's still unclear to me whether commands are // automatically clipped to the display; I think so but // don't want to spend any time on it until I'm certain) -// width_ = mode_description.width; +// context.size.v[0] = width_ = mode_description.width; } } @@ -377,7 +376,6 @@ template struct Fill: public Rectangle { } }; -} } }