Whenever I try to use ScopedConnection in 0.5.0 RC2, I'm trying to access the private member (the constructor).
Should this be private, or is there a missing public: at around line 93 of CEGUIEvent.h ?
Using ScopedConnection
Moderators: CEGUI MVP, CEGUI Team
- PeterNewman
- Just popping in
- Posts: 13
- Joined: Wed Jan 12, 2005 12:06
- Contact:
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
- PeterNewman
- Just popping in
- Posts: 13
- Joined: Wed Jan 12, 2005 12:06
- Contact:
Also, should ~ScopedConnection() check d_connection before calling disconnect? Or better, disconnect (and connected) check d_connection.isValid() first? Since it is possible to create a default constructor ScopedConnection, which will create a default Event::Connection, which uses 0 pointers.
Also, RefCounted copy constructor should if(d_object) before calling addRef() ? (CEGUIRefCounted.h, line 71)
Also, RefCounted copy constructor should if(d_object) before calling addRef() ? (CEGUIRefCounted.h, line 71)
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 3 guests