diff --git a/M6502/HarteTest_6502/cycle_t.h b/M6502/HarteTest_6502/cycle_t.h index 8d3013c..2e31a95 100644 --- a/M6502/HarteTest_6502/cycle_t.h +++ b/M6502/HarteTest_6502/cycle_t.h @@ -10,5 +10,5 @@ class cycle_t final : public byte_t { public: cycle_t(simdjson::dom::array input) noexcept; - [[nodiscard]] auto action() const noexcept { return std::string_view(at(2)); } + [[nodiscard]] auto action() const noexcept { return std::string(std::string_view(at(2))); } };