Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
using namespace dash::mpd;
using namespace dash::exception;
-MPD::MPD (std::map<std::string, std::string> attributes)
+MPD::MPD (const AttributesMap& attributes) : attributes( attributes ),
+ programInfo( NULL )
{
- this->attributes = attributes;
- this->programInfo = NULL;
}
MPD::~MPD ()
typedef std::map<std::string, std::string> AttributesMap;
public:
- MPD (std::map<std::string, std::string> attributes);
+ MPD (const AttributesMap& attributes);
virtual ~MPD();
const std::string& getType () const throw(dash::exception::AttributeNotPresentException);