Results 1 to 2 of 2

Thread: CL_Signal_v0 bug

  1. #1
    Peasant
    Join Date
    Jul 2009
    Location
    China Xi'An
    Posts
    8

    Default CL_Signal_v0 bug

    signal_v0.h/line:138
    Code:
    template<class UserData>
    CL_Slot connect(void (*function)(), const UserData &user_data)
    {
    	clean_up();
    	CL_SharedPtr<CL_SlotCallback> callback(
    		new CL_SlotCallback_v0_static_user<UserData>(function, user_data));
    	impl->connected_slots.push_back(callback);
    	return CL_Slot(callback);
    }
    CL_Slot connect(void (*function)(), const UserData &user_data) should be:
    CL_Slot connect(void (*function)(UserData), const UserData &user_data) ?

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Patch applied, many thanks

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •