Просмотр исходного кода

Initialize default slot sampling parameters from the global context. (#8418)

Clint Herron 1 год назад
Родитель
Сommit
278d0e1846
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      examples/server/server.cpp

+ 2 - 0
examples/server/server.cpp

@@ -737,6 +737,8 @@ struct server_context {
             slot.ga_n = ga_n;
             slot.ga_w = ga_w;
 
+            slot.sparams = params.sparams;
+
             slot.reset();
 
             slots.push_back(slot);