Explorar o código

Fehler behoben

Kolja Strohm %!s(int64=5) %!d(string=hai) anos
pai
achega
bf1d473c38
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      ErhaltungServer/ErhaltungServer.cpp

+ 2 - 1
ErhaltungServer/ErhaltungServer.cpp

@@ -527,9 +527,9 @@ void ESAKlient::errorZuKlient( const char *nachricht ) const // sendet eine Fehl
 // Inhalt der ESKThread Klasse aus ErhaltungServer.h
 // Konstruktor
 ESKThread::ESKThread( ESKlient * zKlient )
+    : Thread()
 {
     this->zKlient = zKlient;
-    ref = 1;
 }
 
 // Destruktor
@@ -556,6 +556,7 @@ void ESKThread::thread()
 // Inhalt der ESKlient Klasse aus ErhaltungServer.h
 // Konstruktor
 ESKlient::ESKlient( SKlient * klient, ErhaltungServer * es )
+    : Thread()
 {
     th = new ESKThread( this );
     this->klient = klient;