From ca7d34ad043395c75cce8b68cdfe4272fa3915da Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 9 Mar 2023 22:24:53 -0500 Subject: [PATCH] Fix ambiguous `using`. --- Components/9918/Implementation/YamahaCommands.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Components/9918/Implementation/YamahaCommands.hpp b/Components/9918/Implementation/YamahaCommands.hpp index f3e7349af..6e27d67bf 100644 --- a/Components/9918/Implementation/YamahaCommands.hpp +++ b/Components/9918/Implementation/YamahaCommands.hpp @@ -338,9 +338,9 @@ enum class MoveType { template struct Move: public Rectangle { static constexpr bool is_logical = type == MoveType::Logical; static constexpr bool is_y_only = type == MoveType::YOnly; - using Rectangle = Rectangle; + using RectangleBase = Rectangle; - Move(CommandContext &context) : Rectangle(context) { + Move(CommandContext &context) : RectangleBase(context) { Command::access = is_logical ? Command::AccessType::CopyPoint : Command::AccessType::CopyByte; Command::cycles = is_y_only ? 0 : 64; Command::y_only = is_y_only; @@ -348,7 +348,7 @@ template struct Move: public Rectangle