mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 11:20:02 +08:00
fixed asio warning, enabled C++11 in scout_webots_sim package
This commit is contained in:
@@ -36,8 +36,13 @@
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
|
||||
#define ASIO_ENABLE_OLD_SERVICES
|
||||
#ifndef ASIO_ENABLE_OLD_SERVICES
|
||||
#define ASIO_ENABLE_OLD_SERVICES
|
||||
#endif
|
||||
|
||||
#ifndef ASIO_HAS_POSIX_STREAM_DESCRIPTOR
|
||||
#define ASIO_HAS_POSIX_STREAM_DESCRIPTOR
|
||||
#endif
|
||||
|
||||
#include "asio.hpp"
|
||||
#include "asio/posix/basic_stream_descriptor.hpp"
|
||||
|
||||
@@ -38,8 +38,13 @@
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
|
||||
#define ASIO_ENABLE_OLD_SERVICES
|
||||
#ifndef ASIO_ENABLE_OLD_SERVICES
|
||||
#define ASIO_ENABLE_OLD_SERVICES
|
||||
#endif
|
||||
|
||||
#ifndef ASIO_HAS_POSIX_STREAM_DESCRIPTOR
|
||||
#define ASIO_HAS_POSIX_STREAM_DESCRIPTOR
|
||||
#endif
|
||||
|
||||
#include "asio.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user