Fix macOS build failure

This commit is contained in:
Xin Dong 2019-11-21 15:51:42 -08:00
parent b6e1839d84
commit 82c63dd101
1 changed files with 3 additions and 1 deletions

View File

@ -229,7 +229,9 @@ struct StorageServerMetrics {
if (!notifyMetrics.allZero()) { if (!notifyMetrics.allZero()) {
auto& v = waitMetricsMap[key]; auto& v = waitMetricsMap[key];
for(int i=0; i<v.size(); i++) { for(int i=0; i<v.size(); i++) {
if (g_network->isSimulated()) TEST( true ); if (g_network->isSimulated()) {
TEST(true);
}
// ShardNotifyMetrics // ShardNotifyMetrics
v[i].send( notifyMetrics ); v[i].send( notifyMetrics );
} }