Skip to content

Commit

Permalink
add getter for unfiltered value
Browse files Browse the repository at this point in the history
  • Loading branch information
jbbjarnason committed Oct 10, 2023
1 parent ef5e4ac commit bb30e1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/ipc/inc/public/tfc/ipc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class slot {

[[nodiscard]] auto value() const noexcept -> std::optional<value_t> const& { return filters_.value(); }

[[nodiscard]] auto unfiltered_value() const noexcept -> std::optional<value_t> const& { return slot_.value(); }

[[nodiscard]] auto name() const noexcept -> std::string_view { return slot_->name(); }

[[nodiscard]] auto full_name() const noexcept -> std::string { return slot_->name_w_type(); }
Expand Down

0 comments on commit bb30e1c

Please sign in to comment.