mirror of https://github.com/Icinga/icinga2.git
Build fixes for gcc.
This commit is contained in:
parent
7f381149dc
commit
57dcab4174
|
@ -53,7 +53,7 @@ public:
|
|||
if (i == m_Data.end())
|
||||
return false;
|
||||
|
||||
*value = i->second;
|
||||
*value = static_cast<T>(i->second);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* Destructor for the Exception class. Must be virtual for RTTI to work.
|
||||
*/
|
||||
virtual ~Exception(void)
|
||||
virtual ~Exception(void) throw()
|
||||
{
|
||||
delete m_Message;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue