diff --git a/include/basic_data.hpp b/include/basic_data.hpp index 502bc22..6802774 100644 --- a/include/basic_data.hpp +++ b/include/basic_data.hpp @@ -2,7 +2,7 @@ #define POC2DMODULAR_BASIC_DATA_HPP -#include +#include namespace data { class BasicData { @@ -19,7 +19,7 @@ namespace data { virtual void window_size(int width, int height) = 0; - [[nodiscard]] virtual const std::string &get_name() const noexcept = 0; + [[nodiscard]] virtual std::string_view get_name() const noexcept = 0; }; }