From 7734d5127a9f7f6f766835dd02f830db03c1b403 Mon Sep 17 00:00:00 2001 From: Jesse Williamson Date: Mon, 29 Sep 2014 10:54:59 -0700 Subject: [PATCH] Fix cosmetic regression bug reported by Habteab and Mark. https://01.org/jira/browse/IOT-54 Change-Id: I6b7a946111800848249fea2258dff3253c7a5048 --- examples/ocicuc/utility.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; } -- 2.7.4