From: Felix Domke Date: Wed, 13 Feb 2008 19:01:24 +0000 (+0000) Subject: add explicit constructors X-Git-Tag: 2.6.0~1542 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/aa46ed3678a61b28b5c067b446afeebd4100abd8?ds=sidebyside add explicit constructors --- diff --git a/lib/service/event.h b/lib/service/event.h index f1a307ec..8c214af6 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -22,6 +22,8 @@ DECLARE_REF(eComponentData); std::string m_iso639LanguageCode; std::string m_text; #endif + eComponentData(const eComponentData& d) { *this = d; } + eComponentData() { m_streamContent = m_componentType = m_componentTag = 0; } int getStreamContent(void) const { return m_streamContent; } int getComponentType(void) const { return m_componentType; } int getComponentTag(void) const { return m_componentTag; }