From b85ad0bc4e96566d8f936295e36fae2eef99d356 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 May 2012 06:05:48 +0000 Subject: Remove useless Thread::create(). Use safer C++isms for value allocation in ThreadVar. Test ThreadVar. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4412 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Thread.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'raul/Thread.hpp') diff --git a/raul/Thread.hpp b/raul/Thread.hpp index 021bf86..0d6c094 100644 --- a/raul/Thread.hpp +++ b/raul/Thread.hpp @@ -39,11 +39,6 @@ class Thread : Noncopyable public: virtual ~Thread(); - /** Create a new thread. */ - static Thread* create(const std::string& name="") { - return new Thread(name); - } - /** Return the calling thread. * * If the calling thread does not yet have a Thread object associated with -- cgit v1.2.1