~ubuntu-branches/ubuntu/wily/libsigc++-2.0/wily-proposed

« back to all changes in this revision

Viewing changes to sigc++/functors/slot_base.cc

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Burrows
  • Date: 2005-07-10 14:34:54 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050710143454-1lickjxb8hzzupx7
Tags: 2.0.10-3
Fix dh_makeshlibs call (it WOULD be the one that I didn't check that
needed to be changed; Closes: #317682).

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
//static
55
55
void* slot_rep::notify(void* data)
56
56
{
57
 
  slot_rep* self_ = (slot_rep*)data;
 
57
  slot_rep* self_ = reinterpret_cast<slot_rep*>(data);
58
58
  self_->call_ = 0; // Invalidate the slot.
59
59
  self_->destroy(); // Detach the stored functor from the other referred trackables and destroy it.
60
60
  self_->disconnect(); // Disconnect the slot (might lead to deletion of self_!).