endif()
if(SYSTEM_BOOST)
- set(Boost_USE_MULTITHREADED ON)
- find_package( Boost 1.50.0 COMPONENTS thread system filesystem program_options regex test_exec_monitor )
+ set(Boost_USE_MULTITHREADED ON)
+ find_package( Boost 1.50.0 COMPONENTS thread system filesystem program_options regex test_exec_monitor )
endif()
if (Boost_FOUND)
-
-void sc_osc_handler::start_tcp_accept(void)
-{
+void sc_osc_handler::start_tcp_accept(void) {
tcp_connection::pointer new_connection = tcp_connection::create(tcp_acceptor_.get_io_service());
tcp_acceptor_.async_accept(new_connection->socket(),
public:
typedef std::shared_ptr<tcp_connection> pointer;
- static pointer create(boost::asio::io_service& io_service)
- {
- return pointer(new tcp_connection(io_service));
- }
+ static pointer create(boost::asio::io_service& io_service) { return pointer(new tcp_connection(io_service)); }
tcp::socket& socket()
{
}
private:
- tcp_connection(boost::asio::io_service& io_service)
- : socket_(io_service)
- {}
+ tcp_connection(boost::asio::io_service& io_service): socket_(io_service) {}
void send(const char *data, size_t length) override final;
class sc_synthdef
{
- typedef std::vector<float, boost::alignment::aligned_allocator<float, 64> > float_vector;
- typedef std::vector<char, boost::alignment::aligned_allocator<char, 64> > char_vector;
+ typedef std::vector<float, boost::alignment::aligned_allocator<float, 64>> float_vector;
+ typedef std::vector<char, boost::alignment::aligned_allocator<char, 64>> char_vector;
#if BOOST_VERSION > 107000
- typedef std::map<symbol, int32_t, std::less<symbol>, boost::alignment::aligned_allocator<std::pair<symbol, int32_t>, 64>> parameter_index_map_t;
+ typedef std::map<symbol, int32_t, std::less<symbol>,
+ boost::alignment::aligned_allocator<std::pair<symbol, int32_t>, 64>>
+ parameter_index_map_t;
#else
typedef std::map<symbol, int32_t, std::less<symbol>> parameter_index_map_t;
#endif