Start moving away from the Java-like containers.
Some checks failed
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled

This commit is contained in:
2025-08-06 03:16:31 -04:00
parent af0c428934
commit 23f82a705c
3 changed files with 45 additions and 26 deletions

View File

@ -1,6 +1,8 @@
#ifndef __LOUT_SIGNALS_HH__
#define __LOUT_SIGNALS_HH__
#include <list>
#include "object.hh"
#include "container.hh"
@ -214,7 +216,7 @@ class Emitter: public object::Object
friend class Receiver;
private:
container::typed::List <Receiver> *receivers;
std::list< Receiver * > receivers;
void unconnect (Receiver *receiver);
@ -255,7 +257,7 @@ class Receiver: public object::Object
friend class Emitter;
private:
container::typed::List<Emitter> *emitters;
std::list< Emitter * > emitters;
void connectTo(Emitter *emitter);
void unconnectFrom(Emitter *emitter);