]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/plant.cpp
Se ponen mas simples algunos SigC::bind() :)
[z.facultad/75.42/plaqui.git] / Server / src / plant.cpp
index 0e70a1fb17c8139500897f27bfd09379bcc9d602..5704a88ddb16fefb9db741fdd6b3c6a9a201779c 100644 (file)
@@ -80,7 +80,7 @@ Plant::Plant(const string& filename): simulator(filename), filename(filename) {
 */     
 }
 
-void Plant::real_run(void) {
+void Plant::real_run(void) throw() {
 #ifdef DEBUG
        cerr << __FILE__ << "(" << __LINE__ << ")"
                << ": real_run." << endl;
@@ -139,7 +139,7 @@ bool Plant::transmission_start(string& host, Connection::Port& port) {
 //             return false;
        }
        transmissions.push_back(trans);
-       trans->signal_finished().connect(SigC::bind<Transmitter*>(
+       trans->signal_finished().connect(SigC::bind(
                                SigC::slot_class(*this, &Plant::on_transmission_finished),
                                trans));
        trans->run();