Skip to content

Commit 7e2cd26

Browse files
authored
Non-template function needs inline
This is to prevent multiple definition of the symbol when the file is included from multiple modules.
1 parent 409c98f commit 7e2cd26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/thread/experimental/parallel/v2/task_region.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ BOOST_THREAD_INLINE_NAMESPACE(v2)
5151

5252
namespace detail
5353
{
54-
void handle_task_region_exceptions(exception_list& errors)
54+
inline void handle_task_region_exceptions(exception_list& errors)
5555
{
5656
try {
5757
throw;

0 commit comments

Comments
 (0)