Make factory classes final (optimization potential)

This commit is contained in:
Alexey Rybalchenko
2018-10-16 11:12:24 +02:00
committed by Dennis Klein
parent 00800f16f1
commit dfa1b68867
21 changed files with 33 additions and 33 deletions

View File

@@ -302,7 +302,7 @@ bool FairMQDevice::AttachChannel(FairMQChannel& ch)
ch.fSocket->SetOption("snd-hwm", &(ch.fSndBufSize), sizeof(ch.fSndBufSize));
ch.fSocket->SetOption("rcv-hwm", &(ch.fRcvBufSize), sizeof(ch.fRcvBufSize));
// set kernel transmit size
// set kernel transmit size (set it only if value is not the default value)
if (ch.fSndKernelSize != 0)
{
ch.fSocket->SetOption("snd-size", &(ch.fSndKernelSize), sizeof(ch.fSndKernelSize));