Преглед изворни кода

Fix common/refraction package build

Rod Hynes пре 1 година
родитељ
комит
7ccc54c9fd
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      psiphon/common/refraction/refraction.go

+ 2 - 2
psiphon/common/refraction/refraction.go

@@ -866,7 +866,7 @@ type dialManager struct {
 	runCtx         context.Context
 	runCtx         context.Context
 	stopRunning    context.CancelFunc
 	stopRunning    context.CancelFunc
 
 
-	conns *common.Conns
+	conns *common.Conns[net.Conn]
 }
 }
 
 
 func newDialManager() *dialManager {
 func newDialManager() *dialManager {
@@ -874,7 +874,7 @@ func newDialManager() *dialManager {
 	return &dialManager{
 	return &dialManager{
 		runCtx:      runCtx,
 		runCtx:      runCtx,
 		stopRunning: stopRunning,
 		stopRunning: stopRunning,
-		conns:       common.NewConns(),
+		conns:       common.NewConns[net.Conn](),
 	}
 	}
 }
 }