Skip to content
Snippets Groups Projects
Commit dd4eb7ce authored by Paul Beuchat's avatar Paul Beuchat
Browse files

Fixed possible bug where vicon connection variable was only locally defined inside of a while loop.

parent 67ace673
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ int main(int argc, char* argv[]) {
while (!vicon_client.IsConnected().Connected)
{
// Get the connection status
bool vicon_connection_isok = (vicon_client.Connect(hostName).Result == Result::Success);
vicon_connection_isok = (vicon_client.Connect(hostName).Result == Result::Success);
if (!vicon_connection_isok)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment