Commit 71e6f46b authored by captainwong's avatar captainwong

add outter namespace jlib for namespace dp

parent 21f0a88d
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <mutex> #include <mutex>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
namespace jlib {
namespace dp { namespace dp {
template <typename target> template <typename target>
...@@ -46,6 +47,5 @@ public: ...@@ -46,6 +47,5 @@ public:
} }
}; };
}; } // end of namespace dp
} // end of namespace jlib
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#include <mutex> #include <mutex>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
namespace jlib {
namespace dp { namespace dp {
template <class T> template <class T>
class singleton : public boost::noncopyable class singleton : public boost::noncopyable
{ {
...@@ -52,4 +52,5 @@ template <class T> ...@@ -52,4 +52,5 @@ template <class T>
std::shared_ptr<T> singleton<T>::instance_ = nullptr; std::shared_ptr<T> singleton<T>::instance_ = nullptr;
} } // end of namespace dp
} // end of namespace jlib
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment