From: Marcin Masternak Date: Tue, 2 Feb 2016 10:41:54 +0000 (+0100) Subject: [prediction] for brackets {} convention apply. X-Git-Tag: accepted/tizen/mobile/20160203.102649^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01eafd135678725fc089a8020d9f81c534f539ed;p=platform%2Fcore%2Fcontext%2Fcontext-provider.git [prediction] for brackets {} convention apply. Change-Id: I0f29bfabf91155c1d2bed493f9886e9074c2fc3e Signed-off-by: Marcin Masternak --- diff --git a/src/statistics/prediction/item_set.cpp b/src/statistics/prediction/item_set.cpp index c8dc55b..dccee66 100644 --- a/src/statistics/prediction/item_set.cpp +++ b/src/statistics/prediction/item_set.cpp @@ -33,8 +33,9 @@ std::ostream& ctx::operator<<(std::ostream& out, const ctx::ItemSet& itemSet) bool ctx::itemset_includes_in(const ctx::ItemSet& small, const ctx::ItemSet& big) { - for (const Item& s : small) + for (const Item& s : small) { if (std::find(big.begin(), big.end(), s) == big.end()) return false; + } return true; }