thread (this_thread::get_id): Inline.
authorChris Fairles <cfairles@gcc.gnu.org>
Mon, 9 Feb 2009 06:32:12 +0000 (06:32 +0000)
committerChris Fairles <cfairles@gcc.gnu.org>
Mon, 9 Feb 2009 06:32:12 +0000 (06:32 +0000)
2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>

        * include/std/thread (this_thread::get_id): Inline.

From-SVN: r144029

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/thread

index d80ab82a17ae368eeba605b32877511a797b70b4..a45742a9971879d213a3048ce80efed1b4736b65 100644 (file)
@@ -1,3 +1,7 @@
+2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>
+
+       * include/std/thread (this_thread::get_id): Inline.
+
 2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>
 
        * include/std/thread (thread<>::thread(_Callable)): Explicitly use
index 3704192913f66f59c5fa04637951035efc9d849c..e0e093ce89c3cd884581efb1b4284250faeabf2d 100644 (file)
@@ -239,7 +239,7 @@ namespace std
   // 30.2.2 Namespace this_thread.
   namespace this_thread
   {
-    thread::id
+    inline thread::id
     get_id() { return thread::id(__gthread_self()); }
 
 #ifdef _GLIBCXX_USE_SCHED_YIELD