From 276e05d967b9c37e4273e986c9f0c3fdd44335fb Mon Sep 17 00:00:00 2001 From: tomoaki Date: Thu, 17 May 2012 08:04:16 +0900 Subject: [PATCH] [gcc] shared_ptr --- roast/include/roast/memory/shared_ptr.hpp | 5 +++-- roast/test/linux_test2/test.cpp | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/roast/include/roast/memory/shared_ptr.hpp b/roast/include/roast/memory/shared_ptr.hpp index ba969145..60b9fb6a 100644 --- a/roast/include/roast/memory/shared_ptr.hpp +++ b/roast/include/roast/memory/shared_ptr.hpp @@ -20,7 +20,8 @@ namespace roast private: ///////////////////////////////////// // Holder - template + //template + template class holder : public ref_count { public: @@ -76,4 +77,4 @@ namespace roast /////////////////////////////////////////////////////////////// } -#endif//__SFJP_ROAST__memory__shared_ptr_HPP__ \ No newline at end of file +#endif//__SFJP_ROAST__memory__shared_ptr_HPP__ diff --git a/roast/test/linux_test2/test.cpp b/roast/test/linux_test2/test.cpp index 0233ba9d..4947d0fc 100644 --- a/roast/test/linux_test2/test.cpp +++ b/roast/test/linux_test2/test.cpp @@ -1,4 +1,7 @@ #include "roast/type_traits.hpp" +#include "roast/time.hpp" +//#include "roast/tuple.hpp" +#include "roast/shared_ptr.hpp" int main() { -- 2.11.0