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

Author Topic: SFML 2 Threads tutorial typo  (Read 4087 times)

0 Members and 2 Guests are viewing this topic.

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
SFML 2 Threads tutorial typo
« on: May 17, 2012, 01:50:00 pm »
I see you have started uploading tutorials for SFML 2. Great!

Here is your first bug report:

From Threads tutorial:
// with lambdas
sf::Thread thread([](){
    std::cout << "I am in thread!" << std::endl;
});

I suppose you meant to be using the same coding style throughout. :)
« Last Edit: May 17, 2012, 04:37:30 pm by Laurent »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: SFML 2 Threads tutorial typo
« Reply #1 on: May 17, 2012, 02:23:32 pm »
Where exactly is the mistake?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
Re: SFML 2 Threads tutorial typo
« Reply #2 on: May 17, 2012, 04:46:05 pm »
In my head, it seems. I somehow thought it was a function implementation, but now I see it is not.

I didn't actually read the context, and it shows. Sorry.  :-[

But on the up-side, I guess this shows that the new coding style is working! :)