diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-02-06 19:54:38 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-02-06 19:54:38 +0100 |
| commit | 64ebfde8bcd6408e3b6925624e8680c314db6efc (patch) | |
| tree | b969314f909f7f16ef5acc63f90dca317a40850a /lib/nes/app/input/input-device.hh | |
| parent | d060e3a50c987d10799ccc739bdbf9d7d7a13c10 (diff) | |
get rid of nasty stdlib
Diffstat (limited to 'lib/nes/app/input/input-device.hh')
| -rw-r--r-- | lib/nes/app/input/input-device.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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 <string_view> +#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; |
