2
0
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:
Michael Glassford
2004-09-08 15:57:03 +00:00
parent 454b58cdf0
commit d977cedb78
2 changed files with 6 additions and 1 deletions

View File

@@ -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;

View File

@@ -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)