Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Oct 8, 2023
1 parent 52ce0b2 commit fbccf40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ds/d400/d400-options.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace librealsense
virtual float query() const override;
virtual option_range get_range() const override;
virtual bool is_enabled() const override { return true; }
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
virtual bool is_read_only() const override { return _sensor && _sensor->is_opened(); }
virtual const char* get_description() const override
{
return "Exposure limit is in microseconds. If the requested exposure limit is greater than frame time, it will be set to frame time at runtime. Setting will not take effect until next streaming session.";
Expand All @@ -87,7 +87,7 @@ namespace librealsense
virtual float query() const override;
virtual option_range get_range() const override;
virtual bool is_enabled() const override { return true; }
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
virtual bool is_read_only() const override { return _sensor && _sensor->is_opened(); }
virtual const char* get_description() const override
{
return "Gain limits ranges from 16 to 248. If the requested gain limit is less than 16, it will be set to 16. If the requested gain limit is greater than 248, it will be set to 248. Setting will not take effect until next streaming session.";
Expand Down
2 changes: 1 addition & 1 deletion src/ds/ds-options.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace librealsense
virtual float query() const override;
virtual option_range get_range() const override;
virtual bool is_enabled() const override { return true; }
virtual bool is_read_only() const { return _sensor && _sensor->is_opened(); }
virtual bool is_read_only() const override { return _sensor && _sensor->is_opened(); }
const char* get_description() const override;

void enable_recording(std::function<void(const option &)> record_action) override
Expand Down

0 comments on commit fbccf40

Please sign in to comment.