diff options
author | David Robillard <d@drobilla.net> | 2019-03-09 17:44:36 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-12 19:42:09 +0100 |
commit | 3c0ed6b66b6e99c68fc01c86b5796a55d74a5977 (patch) | |
tree | 7be3252c13ef123b956424169c1bfbf55359564a /ingen/FilePath.hpp | |
parent | e32f32a360f2bf8f017ea347b6d1e568c0beaf68 (diff) | |
download | ingen-3c0ed6b66b6e99c68fc01c86b5796a55d74a5977.tar.gz ingen-3c0ed6b66b6e99c68fc01c86b5796a55d74a5977.tar.bz2 ingen-3c0ed6b66b6e99c68fc01c86b5796a55d74a5977.zip |
WIP: Port to serd1serd1
Diffstat (limited to 'ingen/FilePath.hpp')
-rw-r--r-- | ingen/FilePath.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ingen/FilePath.hpp b/ingen/FilePath.hpp index 98893dfc..8d5c6882 100644 --- a/ingen/FilePath.hpp +++ b/ingen/FilePath.hpp @@ -19,7 +19,7 @@ #include "ingen/ingen.h" -#include <boost/utility/string_view.hpp> +#include "serd/serd.hpp" #include <ostream> #include <string> @@ -57,7 +57,7 @@ public: FilePath(string_type&& str) : _str(std::move(str)) {} FilePath(const string_type& str) : _str(str) {} FilePath(const value_type* str) : _str(str) {} - FilePath(const boost::basic_string_view<value_type>& sv) + FilePath(const serd::StringView& sv) : _str(sv.data(), sv.length()) {} @@ -73,7 +73,7 @@ public: FilePath& operator+=(const string_type& str); FilePath& operator+=(const value_type* str); FilePath& operator+=(value_type chr); - FilePath& operator+=(boost::basic_string_view<value_type> sv); + FilePath& operator+=(serd::StringView sv); void clear() noexcept { _str.clear(); } |