From: Jesse Williamson Date: Mon, 29 Sep 2014 17:54:59 +0000 (-0700) Subject: Fix cosmetic regression bug reported by Habteab and Mark. X-Git-Tag: 1.2.0+RC1~2210^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7734d5127a9f7f6f766835dd02f830db03c1b403;p=platform%2Fupstream%2Fiotivity.git Fix cosmetic regression bug reported by Habteab and Mark. https://01.org/jira/browse/IOT-54 Change-Id: I6b7a946111800848249fea2258dff3253c7a5048 --- diff --git a/examples/ocicuc/utility.hpp b/examples/ocicuc/utility.hpp index 3c8b628..6b92fd9 100644 --- a/examples/ocicuc/utility.hpp +++ b/examples/ocicuc/utility.hpp @@ -34,12 +34,7 @@ namespace Intel { namespace OCDemo { inline std::ostream& operator<<(std::ostream& os, const OC::AttributeMap& attrs) { for(const auto& attr : attrs) - { - os << "Attribute \"" << attr.first << "\": "; - - for(const auto& val : attr.second) - os << val << "; "; - } + os << "Attribute \"" << attr.first << "\": " << attr.second << "; "; return os; }