Reduce reliance on boost - the easy part

* boost::unordered_map -> std::unordered_map
* BOOST_STATIC_ASSERT/static_assert
* BOOST_FOREACH -> for
* boost::tuple -> std::tuple/g
* boost::math::isnormal -> std::isnormal
* boost::container::set -> std::set
* boost::none -> std::nullopt
* boost::optional -> std::optional
This commit is contained in:
Robin Gareus 2024-10-19 02:23:13 +02:00
parent 168b917730
commit ff95d81612
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
58 changed files with 144 additions and 155 deletions

View file

@ -19,7 +19,7 @@
#ifndef _ardour_surface_websockets_server_h_
#define _ardour_surface_websockets_server_h_
#include <boost/unordered_map.hpp>
#include <unordered_map>
#include <glibmm.h>
#include <libwebsockets.h>
@ -63,7 +63,7 @@ private:
struct lws_context_creation_info _lws_info;
struct lws_context* _lws_context;
typedef boost::unordered_map<Client, ClientContext> ClientContextMap;
typedef std::unordered_map<Client, ClientContext> ClientContextMap;
ClientContextMap _client_ctx;
ServerResources _resources;
@ -90,7 +90,7 @@ private:
Glib::RefPtr<Glib::IOChannel> _channel;
typedef boost::unordered_map<lws_sockfd_type, LwsPollFdGlibSource> LwsPollFdGlibSourceMap;
typedef std::unordered_map<lws_sockfd_type, LwsPollFdGlibSource> LwsPollFdGlibSourceMap;
LwsPollFdGlibSourceMap _fd_ctx;
bool _fd_callbacks;