mirror of
https://github.com/boostorg/thread.git
synced 2026-02-07 23:02:13 +00:00
Non-template function needs inline
This is to prevent multiple definition of the symbol when the file is included from multiple modules.
This commit is contained in:
@@ -51,7 +51,7 @@ BOOST_THREAD_INLINE_NAMESPACE(v2)
|
||||
|
||||
namespace detail
|
||||
{
|
||||
void handle_task_region_exceptions(exception_list& errors)
|
||||
inline void handle_task_region_exceptions(exception_list& errors)
|
||||
{
|
||||
try {
|
||||
throw;
|
||||
|
||||
Reference in New Issue
Block a user