Remove old code

This commit is contained in:
Alexey Milovidov 2021-07-06 05:31:09 +03:00
parent b724138541
commit 504d2c0c56

View File

@ -21,12 +21,9 @@ using Scalars = std::map<String, Block>;
class Context;
/// Most used types have shorter names
/// TODO: in the first part of refactoring all the context pointers are non-const.
using ContextPtr = std::shared_ptr<const Context>;
using ContextConstPtr = ContextPtr; /// For compatibility. Use ContextPtr.
using ContextMutablePtr = std::shared_ptr<Context>;
using ContextWeakPtr = std::weak_ptr<const Context>;
using ContextWeakConstPtr = ContextWeakPtr; /// For compatibility. Use ContextWeakPtr.
using ContextWeakMutablePtr = std::weak_ptr<Context>;
template <class Shared = ContextPtr>