mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-06-13 23:29:32 +00:00
Remove warning about temporary values being used
This commit is contained in:
parent
349bada9cc
commit
48369f0e98
|
@ -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))); }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user