From afc16e76ba699b24ba1ef1cb1b658ef421c84430 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Sat, 12 Aug 2023 14:10:40 +0100 Subject: std::string const& --> const std::string_view --- src/openvic/Date.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openvic/Date.hpp') diff --git a/src/openvic/Date.hpp b/src/openvic/Date.hpp index f616e3b..2994523 100644 --- a/src/openvic/Date.hpp +++ b/src/openvic/Date.hpp @@ -84,7 +84,7 @@ namespace OpenVic { explicit operator std::string() const; // Parsed from string of the form YYYY.MM.DD - static Date from_string(std::string const& date); + static Date from_string(const std::string_view date); }; std::ostream& operator<<(std::ostream& out, Date const& date); } -- cgit v1.2.3-56-ga3b1