Commit c83dbe06 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Shared pointer getter added

parent 8c9e395b
......@@ -24,6 +24,10 @@ public:
this->rawSharedPointer = rawSharedPointer;
};
shared_ptr<T> sharedPointer() {
return rawSharedPointer;
}
T* operator->() const {
return get();
}
......
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