added parentheses to make gcc happy

This commit is contained in:
fgerlits 2004-12-03 11:07:42 +00:00
parent 9f3b6e0f0a
commit 3ce857b78b
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
Author : $Author: fgerlits $ Author : $Author: fgerlits $
Version : $Revision: 1.5 $ Version : $Revision: 1.6 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/AudioClip.cxx,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/AudioClip.cxx,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -105,7 +105,7 @@ AudioClip :: configure(const xmlpp::Element & element)
playlength.reset(new time_duration( playlength.reset(new time_duration(
duration_from_string(attribute->get_value()))); duration_from_string(attribute->get_value())));
if (attribute = element.get_attribute(uriAttrName)) { if ((attribute = element.get_attribute(uriAttrName))) {
std::string uriValue = attribute->get_value(); std::string uriValue = attribute->get_value();
uri.reset(new std::string(uriValue)); uri.reset(new std::string(uriValue));
} }