Skip to content

Commit fdb9c21

Browse files
Remove explicit inline
1 parent a1958c2 commit fdb9c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/msd/channel.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ class channel {
153153
std::condition_variable cnd_;
154154
std::atomic<bool> is_closed_{false};
155155

156-
inline void waitBeforeRead(std::unique_lock<std::mutex>& lock)
156+
void waitBeforeRead(std::unique_lock<std::mutex>& lock)
157157
{
158158
cnd_.wait(lock, [this]() { return !empty() || closed(); });
159159
};
160160

161-
inline void waitBeforeWrite(std::unique_lock<std::mutex>& lock)
161+
void waitBeforeWrite(std::unique_lock<std::mutex>& lock)
162162
{
163163
if (cap_ > 0 && size_ == cap_) {
164164
cnd_.wait(lock, [this]() { return size_ < cap_; });

0 commit comments

Comments
 (0)