File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ inline void SharedMutexImpl::lock()
156156 }
157157}
158158
159- void SharedMutexImpl::lock (boost::system::error_code& ec)
159+ inline void SharedMutexImpl::lock (boost::system::error_code& ec)
160160{
161161 std::unique_lock lock{mutex};
162162
@@ -181,7 +181,7 @@ inline bool SharedMutexImpl::try_lock()
181181 return false ;
182182}
183183
184- void SharedMutexImpl::unlock ()
184+ inline void SharedMutexImpl::unlock ()
185185{
186186 RequestList granted;
187187 {
@@ -245,7 +245,7 @@ inline void SharedMutexImpl::lock_shared()
245245 }
246246}
247247
248- void SharedMutexImpl::lock_shared (boost::system::error_code& ec)
248+ inline void SharedMutexImpl::lock_shared (boost::system::error_code& ec)
249249{
250250 std::unique_lock lock{mutex};
251251
@@ -303,8 +303,8 @@ inline void SharedMutexImpl::cancel()
303303 complete (std::move (canceled), boost::asio::error::operation_aborted);
304304}
305305
306- void SharedMutexImpl::complete (RequestList&& requests,
307- boost::system::error_code ec)
306+ inline void SharedMutexImpl::complete (RequestList&& requests,
307+ boost::system::error_code ec)
308308{
309309 while (!requests.empty ()) {
310310 auto & request = requests.front ();
You can’t perform that action at this time.
0 commit comments