]> granicus.if.org Git - icinga2/commitdiff
Moved C++11 compat code into the icinga namespace.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sun, 13 May 2012 18:47:14 +0000 (20:47 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 13 May 2012 18:47:14 +0000 (20:47 +0200)
base/cxx11-compat.h

index d6e7c6b308fc2d03338cf8b3d2b61338c8468f06..684f6b50d1a6edc8353a8eb16c3f74d407171cdb 100644 (file)
@@ -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 */