Skip to content

Commit

Permalink
minor change in Report for Element size support
Browse files Browse the repository at this point in the history
issue #30
  • Loading branch information
Valentin Noel committed Dec 10, 2013
1 parent efa4864 commit fff9162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/ReportGenerator/src/ReportGenerator/Report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void Report::print( const ShPtrElement element )
LOG( " >> " );
LOG_COLOR( common::details::kColorYellow, "W: " );
for( std::string w : element->_warning )
LOG_COLOR( common::details::kColorRed, w );
LOG_COLOR( common::details::kColorYellow, w );
}

LOG_ENDL();
Expand Down Expand Up @@ -240,7 +240,7 @@ void Report::writeXml( const std::string& filename )
addXmlNodeAttribute( doc, node, kType, typeStringMap.at( element->_type) );

std::stringstream sizeSstr;
sizeSstr << element->_size;
sizeSstr << element->_data.size();
addXmlNodeAttribute( doc, node, kSize, sizeSstr.str() );

std::string value = "";
Expand Down

0 comments on commit fff9162

Please sign in to comment.