mirror of
https://github.com/boostorg/thread.git
synced 2026-01-24 18:32:32 +00:00
Fix gcc warning about inline function being marked as dllimport.
[SVN r24975]
This commit is contained in:
@@ -34,7 +34,7 @@ protected:
|
||||
public:
|
||||
~thread_exception() throw();
|
||||
|
||||
int native_error() const { return m_sys_err; }
|
||||
int native_error() const;
|
||||
|
||||
const char* message() const;
|
||||
|
||||
|
||||
@@ -82,6 +82,11 @@ thread_exception::~thread_exception() throw()
|
||||
{
|
||||
}
|
||||
|
||||
int thread_exception::native_error() const
|
||||
{
|
||||
return m_sys_err;
|
||||
}
|
||||
|
||||
const char* thread_exception::message() const
|
||||
{
|
||||
if (m_sys_err != 0)
|
||||
|
||||
Reference in New Issue
Block a user