Skip to content

Commit

Permalink
remove std::to_string with string::from()
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Jul 3, 2024
1 parent 0f519e6 commit caadc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/uvc-option.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class uvc_xu_option : virtual public option
T t;
if( ! dev.get_xu( _xu, _id, reinterpret_cast< uint8_t * >( &t ), sizeof( T ) ) )
throw invalid_value_exception( rsutils::string::from()
<< "get_xu(id=" << std::to_string( _id ) << ") failed!"
<< "get_xu(id=" << _id << ") failed!"
<< " Last Error: " << strerror( errno ) );
if (_parsing_modifier)
return _parsing_modifier(t);
Expand Down

0 comments on commit caadc5d

Please sign in to comment.