Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
extras
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
4
Merge Requests
4
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
The Openvibe Group
extras
Commits
2e1d7425
Commit
2e1d7425
authored
Feb 21, 2019
by
MONSEIGNE Thibaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Coding Rules Example ambiguous reference
- error: reference to ‘placeholders’ is ambiguous
parent
7652b1ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
applications/examples/openvibe-to-tcpip/src/tcpip-client.cpp
applications/examples/openvibe-to-tcpip/src/tcpip-client.cpp
+5
-5
No files found.
applications/examples/openvibe-to-tcpip/src/tcpip-client.cpp
View file @
2e1d7425
...
...
@@ -73,7 +73,7 @@ public:
m_stimulusSocket
.
connect
(
*
resolver
.
resolve
(
query
),
error
);
// Tell ASIO to read a stimulus
async_read_until
(
m_stimulusSocket
,
m_stimulusStream
,
"
\n
"
,
boost
::
bind
(
&
TCPWriterClient
::
stimulusHandler
,
this
,
placeholders
::
error
));
async_read_until
(
m_stimulusSocket
,
m_stimulusStream
,
"
\n
"
,
boost
::
bind
(
&
TCPWriterClient
::
stimulusHandler
,
this
,
boost
::
asio
::
placeholders
::
error
));
}
if
((
sSignalPort
!=
nullptr
)
&&
strcmp
(
sSignalPort
,
"0"
)
!=
0
)
...
...
@@ -88,7 +88,7 @@ public:
// Tell ASIO to read the signal header
async_read
(
m_signalSocket
,
buffer
(
m_signalHeaderBuffer
.
data
(),
m_headerSize
),
transfer_at_least
(
m_headerSize
),
boost
::
bind
(
&
TCPWriterClient
::
signalHeaderHandler
,
this
,
placeholders
::
error
));
boost
::
bind
(
&
TCPWriterClient
::
signalHeaderHandler
,
this
,
boost
::
asio
::
placeholders
::
error
));
}
}
...
...
@@ -103,7 +103,7 @@ public:
// Tell ASIO to read again
async_read_until
(
m_stimulusSocket
,
m_stimulusStream
,
"
\n
"
,
boost
::
bind
(
&
TCPWriterClient
::
stimulusHandler
,
this
,
placeholders
::
error
));
boost
::
bind
(
&
TCPWriterClient
::
stimulusHandler
,
this
,
boost
::
asio
::
placeholders
::
error
));
}
void
signalHeaderHandler
(
const
system
::
error_code
&
error
)
...
...
@@ -142,7 +142,7 @@ public:
// Tell ASIO to read the actual signal
async_read
(
m_signalSocket
,
buffer
(
m_signalBuffer
.
data
(),
m_bufferSize
),
transfer_at_least
(
m_bufferSize
),
boost
::
bind
(
&
TCPWriterClient
::
signalHandler
,
this
,
placeholders
::
error
));
boost
::
bind
(
&
TCPWriterClient
::
signalHandler
,
this
,
boost
::
asio
::
placeholders
::
error
));
}
void
signalHandler
(
const
system
::
error_code
&
error
)
...
...
@@ -167,7 +167,7 @@ public:
// Tell ASIO to read more
async_read
(
m_signalSocket
,
buffer
(
m_signalBuffer
.
data
(),
m_bufferSize
),
transfer_at_least
(
m_bufferSize
),
boost
::
bind
(
&
TCPWriterClient
::
signalHandler
,
this
,
placeholders
::
error
));
boost
::
bind
(
&
TCPWriterClient
::
signalHandler
,
this
,
boost
::
asio
::
placeholders
::
error
));
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment