build: fix build

This commit is contained in:
Robert Schulze 2022-08-22 08:55:53 +00:00
parent 4caf2c4c33
commit 756b704f81
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ public:
bool isFixedAndContiguous() const override { return data->isFixedAndContiguous(); }
bool valuesHaveFixedSize() const override { return data->valuesHaveFixedSize(); }
size_t sizeOfValueIfFixed() const override { return data->sizeOfValueIfFixed(); }
std::string_ref getRawData() const override { return data->getRawData(); }
std::string_view getRawData() const override { return data->getRawData(); }
/// Not part of the common interface.

View File

@ -209,7 +209,7 @@ public:
bool isFixedAndContiguous() const override { return true; }
size_t sizeOfValueIfFixed() const override { return n; }
std::string_view getRawData() const override { return {chars.data(), chars.size()}; }
std::string_view getRawData() const override { return {reinterpret_cast<const char *>(chars.data()), chars.size()}; }
/// Specialized part of interface, not from IColumn.
void insertString(const String & string) { insertData(string.c_str(), string.size()); }