From 64ebfde8bcd6408e3b6925624e8680c314db6efc Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 6 Feb 2025 19:54:38 +0100 Subject: get rid of nasty stdlib --- lib/nes/app/input/input-device.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/nes/app/input/input-device.hh') diff --git a/lib/nes/app/input/input-device.hh b/lib/nes/app/input/input-device.hh index 008825d..bd2f7c2 100644 --- a/lib/nes/app/input/input-device.hh +++ b/lib/nes/app/input/input-device.hh @@ -1,7 +1,7 @@ #pragma once #include "nes/sys/types/button-mask.hh" -#include +#include "nes/common/containers/string-view.hh" namespace nes::app { @@ -20,7 +20,7 @@ namespace nes::app virtual auto read_buttons() -> sys::button_mask = 0; /// Human-readable name for the device. - virtual auto get_name() const -> std::string_view = 0; + virtual auto get_name() const -> string_view = 0; protected: explicit input_device() = default; -- cgit v1.3.1