Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc017497

Browse files
committed
Merge pull request#645 from deanberris/fix/multiple-definition-swap
Fix multiple definition swap
2 parentscf080ef +340e242 commitc017497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎boost/network/utils/thread_pool.hpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ class thread_pool {
9898
sentinel_ptr sentinel_;
9999
};
100100

101-
voidswap(thread_pool &a, thread_pool &b) { a.swap(b); }
101+
inlinevoidswap(thread_pool &a, thread_pool &b) { a.swap(b); }
102+
102103
}// namespace utils
103104
}// namespace network
104105
}// namespace boost

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp