mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-08 09:25:00 +00:00
Remove warning about temporary values being used
This commit is contained in:
@@ -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))); }
|
||||
};
|
||||
|
Reference in New Issue
Block a user