File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ namespace boost { namespace asio {
25
25
// / @param serial_port Port to flush.
26
26
// / @param what Determines the buffers to flush.
27
27
// / @param error Set to indicate what error occurred, if any.
28
- void flush_serial_port (
28
+ inline void flush_serial_port (
29
29
boost::asio::serial_port& serial_port,
30
30
flush_type what,
31
31
boost::system::error_code& error)
@@ -46,7 +46,7 @@ namespace boost { namespace asio {
46
46
#endif
47
47
}
48
48
49
- void flush_serial_port (
49
+ inline void flush_serial_port (
50
50
basic_serial_port<mockup_serial_port_service>&,
51
51
flush_type,
52
52
boost::system::error_code& error) {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace boost { namespace asio {
8
8
9
9
// / @brief Returns the number of bytes available for reading from a serial
10
10
// / port without blocking.
11
- std::size_t get_bytes_available (
11
+ inline std::size_t get_bytes_available (
12
12
boost::asio::serial_port& serial_port,
13
13
boost::system::error_code& error)
14
14
{
@@ -41,7 +41,7 @@ namespace boost { namespace asio {
41
41
42
42
}
43
43
44
- std::size_t get_bytes_available (
44
+ inline std::size_t get_bytes_available (
45
45
basic_serial_port<mockup_serial_port_service>& serial_port,
46
46
boost::system::error_code& error)
47
47
{
You can’t perform that action at this time.
0 commit comments