Remove deprecated string_view compat shim

This commit is contained in:
Jason Rhinelander 2021-01-14 14:39:56 -04:00
parent b49a94fb83
commit 396f591fae
2 changed files with 0 additions and 17 deletions

View File

@ -188,7 +188,6 @@ if(OXENMQ_INSTALL)
oxenmq/hex.h
oxenmq/oxenmq.h
oxenmq/message.h
oxenmq/string_view.h
oxenmq/variant.h
${CMAKE_CURRENT_BINARY_DIR}/oxenmq/version.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/oxenmq
@ -220,7 +219,6 @@ if(OXENMQ_INSTALL)
lokimq/hex.h
lokimq/lokimq.h
lokimq/message.h
lokimq/string_view.h
lokimq/variant.h
lokimq/version.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lokimq

View File

@ -1,15 +0,0 @@
#pragma once
#include <string_view>
namespace oxenmq {
// Deprecated type alias for std::string_view
using string_view = std::string_view;
// Deprecated "foo"_sv literal; you should use "foo"sv (from <string_view>) instead.
inline namespace literals {
inline constexpr std::string_view operator""_sv(const char* str, size_t len) { return {str, len}; }
}
}