mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Moved C++11 compat code into the icinga namespace.
This commit is contained in:
parent
38486640fd
commit
bec30888f7
@ -20,6 +20,8 @@
|
||||
#ifndef CXX11COMPAT_H
|
||||
#define CXX11COMPAT_H
|
||||
|
||||
namespace icinga {
|
||||
|
||||
template <typename T>
|
||||
shared_ptr<T> make_shared(void)
|
||||
{
|
||||
@ -38,4 +40,6 @@ shared_ptr<T> make_shared(const TArg1& arg1, const TArg2& arg2)
|
||||
return shared_ptr<T>(new T(arg1, arg2));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif /* CXX11COMPAT_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user