mirror of https://github.com/oxen-io/oxen-mq.git
Remove deprecated string_view compat shim
This commit is contained in:
parent
b49a94fb83
commit
396f591fae
|
@ -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
|
||||
|
|
|
@ -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}; }
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue