aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/Date.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic/Date.hpp')
-rw-r--r--src/openvic/Date.hpp2
1 files changed, 1 insertions, 1 deletions
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);
}