mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 16:40:48 +08:00
support asio standalone.
This commit is contained in:
@@ -4,9 +4,15 @@
|
||||
#include <string_view>
|
||||
using string_view = std::string_view;
|
||||
#else
|
||||
#ifdef ASIO_STANDALONE
|
||||
#include "string_view.hpp"
|
||||
using namespace nonstd;
|
||||
#else
|
||||
#include <boost/utility/string_view.hpp>
|
||||
using string_view = boost::string_view;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "codec.h"
|
||||
|
||||
namespace rest_rpc {
|
||||
|
||||
Reference in New Issue
Block a user