Skip to content
Snippets Groups Projects
Commit c3e31cbd authored by Jan Trávníček's avatar Jan Trávníček
Browse files

extra safe cow_base_data class

parent d23c2f8f
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ template <typename T, typename Enable = void>
class cow_shared_ptr;
 
class cow_shared_ptr_base {
public:
cow_shared_ptr_base() : m_UseCount(0) {}
private:
int m_UseCount;
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment