diff options
author | Hop311 <Hop3114@gmail.com> | 2023-08-12 18:54:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 18:54:55 +0200 |
commit | d3c6ff1809b88b4c99163402f30b6d10c787510f (patch) | |
tree | e4bf26ecfef160e7df7670e73af7f154f1550308 /src/openvic/Date.hpp | |
parent | 538e7dc4ec44c4d09a6a654f10229e6392653a50 (diff) | |
parent | afc16e76ba699b24ba1ef1cb1b658ef421c84430 (diff) |
Merge pull request #11 from OpenVicProject/string_view
Changed IdentifierRegistry to use std::string_view when looking up a std::string key
Diffstat (limited to 'src/openvic/Date.hpp')
-rw-r--r-- | src/openvic/Date.hpp | 2 |
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); } |