Skip to content

Commit

Permalink
refactor(lazy): naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 22, 2024
1 parent 28ecaae commit 4041d41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/rohrkabel/utils/lazy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ namespace pipewire
template <typename T>
class cancellable_lazy : public lazy<T>
{
std::stop_source stop;
std::stop_source m_stop;

public:
template <typename... Args>
cancellable_lazy(std::stop_source stop, Args &&...args)
: lazy<T>(std::forward<Args>(args)...), stop(std::move(stop))
: lazy<T>(std::forward<Args>(args)...), m_stop(std::move(stop))
{
}

[[nodiscard]] std::stop_source stop_source() const
{
return stop;
return m_stop;
}
};

Expand Down

0 comments on commit 4041d41

Please sign in to comment.