Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 2.0 Threads  (Read 1992 times)

0 Members and 1 Guest are viewing this topic.

vidjogamer

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
SFML 2.0 Threads
« on: March 16, 2011, 03:24:08 am »
I tried the examples from 1.6 but I get this error:

error C2512: 'sf::Thread' : no appropriate default constructor available

Code: [Select]
class MyClass : private sf::Thread
{
public :

    void DoSomething()
    {
        Launch();
    }

private :

    virtual void Run()
    {
        // Do something...
    }
};

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
SFML 2.0 Threads
« Reply #1 on: March 16, 2011, 08:01:25 am »
Laurent Gomila - SFML developer

 

anything