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

Author Topic: [Solved]RenderWindow 'sf::NonCopyable::operator ='  (Read 2319 times)

0 Members and 1 Guest are viewing this topic.

adikid89

  • Newbie
  • *
  • Posts: 13
    • MSN Messenger - adikid89@yahoo.com
    • View Profile
[Solved]RenderWindow 'sf::NonCopyable::operator ='
« on: April 03, 2011, 07:36:36 pm »
For some reason this won't work.. :|
Code: [Select]

//in the GuiManager class
GuiManager(sf::RenderWindow& window);

///....
sf::RenderWindow& m_window;


Code: [Select]

GuiManager::GuiManager( sf::RenderWindow& window ): m_window(window),
m_hotSpotX(0),m_hotSpotY(0), m_focus(NULL),
m_drag(false),index(0),m_theme(NULL),m_hoverTarget(NULL),
m_curDrag(NULL)
{
//etc
}


I get the non-copyable thingy..
 'sf::NonCopyable::operator =' : cannot access private member declared in class 'sf::NonCopyable'

Nvm...It was broken elsewhere apparently.