Skip to content

Instantly share code, notes, and snippets.

@markhc
Created August 20, 2019 02:09
Show Gist options
  • Save markhc/fafa73a755f9cae32c168197574c3687 to your computer and use it in GitHub Desktop.
Save markhc/fafa73a755f9cae32c168197574c3687 to your computer and use it in GitHub Desktop.
Warning: include-what-you-use reported diagnostics:
/home/markhc/Coding/tenshi/include/tenshi/client.hpp should add these lines:
#include <stdint.h> // for uint32_t
#include <boost/asio/detail/socket_types.hpp> // for asio
#include <boost/asio/impl/io_context.ipp> // for io_context::~io_context
#include <boost/asio/io_context.hpp> // for io_context
#include <boost/asio/ssl/context.hpp> // for context
#include <boost/asio/ssl/context_base.hpp> // for context_base::sslv23_c...
#include <boost/asio/ssl/impl/context.ipp> // for context::~context, con...
#include <boost/beast/core/basic_stream.hpp> // for ssl
#include <boost/beast/core/detail/config.hpp> // for beast
#include <boost/beast/http/error.hpp> // for http
#include <boost/beast/websocket/teardown.hpp> // for websocket
#include <utility> // for forward, move
#include <vector> // for vector
/home/markhc/Coding/tenshi/include/tenshi/client.hpp should remove these lines:
- #include <boost/asio/connect.hpp> // lines 9-9
- #include <boost/asio/ip/tcp.hpp> // lines 10-10
- #include <boost/beast/core.hpp> // lines 11-11
- #include <boost/beast/ssl.hpp> // lines 12-12
- #include <boost/beast/websocket.hpp> // lines 13-13
- #include <boost/beast/websocket/ssl.hpp> // lines 14-14
- #include "events.hpp" // lines 5-5
The full include-list for /home/markhc/Coding/tenshi/include/tenshi/client.hpp:
#include <stdint.h> // for uint32_t
#include <boost/asio/detail/socket_types.hpp> // for asio
#include <boost/asio/impl/io_context.ipp> // for io_context::~io_context
#include <boost/asio/io_context.hpp> // for io_context
#include <boost/asio/ssl/context.hpp> // for context
#include <boost/asio/ssl/context_base.hpp> // for context_base::sslv23_c...
#include <boost/asio/ssl/impl/context.ipp> // for context::~context, con...
#include <boost/beast/core/basic_stream.hpp> // for ssl
#include <boost/beast/core/detail/config.hpp> // for beast
#include <boost/beast/http/error.hpp> // for http
#include <boost/beast/websocket/teardown.hpp> // for websocket
#include <functional> // for invoke
#include <memory> // for shared_ptr
#include <string> // for string
#include <string_view> // for string_view
#include <thread> // for thread
#include <tuple> // for get, tuple
#include <type_traits> // for decay_t
#include <utility> // for forward, move
#include <vector> // for vector
#include "config.hpp" // for TENSHI_ASSERT
#include "eventhandler.hpp" // for EventHandler
#include "gateway.hpp" // for Gateway, Gateway::Resp...
#include "utility.hpp" // for NonCopyable, NonMovable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment