Skip to content

Commit

Permalink
PR #12848 from Eran: Fix settings in rs2_create_context
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel authored Apr 11, 2024
2 parents f344f09 + 2b6670e commit 1a4b8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ rs2_context* rs2_create_context(int api_version, rs2_error** error) BEGIN_API_CA
{
verify_version_compatibility(api_version);

json settings;
json settings = json::object();
return new rs2_context{ context::make( settings ) };
}
HANDLE_EXCEPTIONS_AND_RETURN(nullptr, api_version)
Expand Down

0 comments on commit 1a4b8ea

Please sign in to comment.