From 07a92b6abede8ba98bf7edcf5aa18dedc61db999 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 8 Jun 2016 10:35:44 +0800 Subject: Fix minor compilation warnings --- data_sets/default_data_set.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'data_sets') diff --git a/data_sets/default_data_set.hpp b/data_sets/default_data_set.hpp index 51e6b70..696403e 100644 --- a/data_sets/default_data_set.hpp +++ b/data_sets/default_data_set.hpp @@ -26,7 +26,7 @@ namespace opt_utilities // private: public: std::vector > data_vec; - + data_set* do_clone()const { return new default_data_set(*this); @@ -37,17 +37,17 @@ namespace opt_utilities { return data_vec.at(i); } - + size_t do_size()const { return data_vec.size(); } - + void do_add_data(const data& d) { data_vec.push_back(d); } - + void do_clear() { data_vec.clear(); @@ -56,7 +56,7 @@ namespace opt_utilities public: default_data_set() {} - + default_data_set(const default_data_set& rhs) :data_vec(rhs.data_vec) {} @@ -64,7 +64,7 @@ namespace opt_utilities default_data_set(const data_set& rhs) { data_vec.resize(rhs.size()); - for(int i=0;i