From d2b4cc3022b491db3aaa8bb835f9865367fe08fb Mon Sep 17 00:00:00 2001 From: Kalman Date: Wed, 1 Aug 2018 20:20:39 +0800 Subject: [PATCH] fix two warning --- src/internal/channels.cc | 40 ++++++++++++++++-------------- src/internal/types.h | 33 ++++++++++++++---------- tools/analytics/stamp_analytics.py | 4 +-- tools/dataset/dataset.cc | 18 ++++++++------ tools/dataset/dataset.h | 2 ++ tools/internal/data/__init__.py | 12 ++++----- 6 files changed, 63 insertions(+), 46 deletions(-) diff --git a/src/internal/channels.cc b/src/internal/channels.cc index f4a065a..58c6668 100644 --- a/src/internal/channels.cc +++ b/src/internal/channels.cc @@ -128,25 +128,29 @@ void Channels::LogControlInfos() const { } void Channels::UpdateControlInfos() { - for (auto &&option : std::vector