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