util/TemplateString: remove StringView support
This commit is contained in:
parent
683f0da2e7
commit
422c1e9288
@ -30,8 +30,6 @@
|
|||||||
#ifndef TEMPLATE_STRING_HXX
|
#ifndef TEMPLATE_STRING_HXX
|
||||||
#define TEMPLATE_STRING_HXX
|
#define TEMPLATE_STRING_HXX
|
||||||
|
|
||||||
#include "StringView.hxx"
|
|
||||||
|
|
||||||
#include <array> // for std::size()
|
#include <array> // for std::size()
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
@ -50,10 +48,6 @@ struct Buffer {
|
|||||||
constexpr operator std::string_view() const noexcept {
|
constexpr operator std::string_view() const noexcept {
|
||||||
return {value, size};
|
return {value, size};
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr operator StringView() const noexcept {
|
|
||||||
return {value, size};
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user