Skip to content

Commit

Permalink
ubuntu fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nohayassin committed May 12, 2021
1 parent 79d01ea commit 897c6e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/example-utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <string>
#include <map>
#include <librealsense2/rs.hpp>
#include <algorithm>

//////////////////////////////
// Demos Helpers //
Expand All @@ -17,7 +18,7 @@ bool device_with_streams(std::vector <rs2_stream> stream_requests, std::string&
rs2::context ctx;
auto devs = ctx.query_devices();
std::vector <rs2_stream> unavailable_streams = stream_requests;
for (auto& dev : devs)
for (auto dev : devs)
{
std::map<rs2_stream, bool> found_streams;
for (auto& type : stream_requests)
Expand Down

0 comments on commit 897c6e6

Please sign in to comment.