Added SimpleWeb::asio namespace when using standalone asio as well

This commit is contained in:
eidheim 2017-07-05 12:57:45 +02:00
commit bdac513da0
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#ifdef USE_STANDALONE_ASIO
#include <asio.hpp>
namespace SimpleWeb {
namespace asio = asio;
using error_code = std::error_code;
using errc = std::errc;
using system_error = std::system_error;

View file

@ -11,6 +11,7 @@
#ifdef USE_STANDALONE_ASIO
#include <asio.hpp>
namespace SimpleWeb {
namespace asio = asio;
using error_code = std::error_code;
using errc = std::errc;
namespace make_error_code = std;