Skip to content

Commit

Permalink
Remove TBaseExt (#6706)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximyurchuk authored Jul 15, 2024
1 parent 75aea0d commit 2cb5973
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ydb/library/yql/minikql/computation/mkql_computation_node_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -856,11 +856,11 @@ class TBinaryComputationNode: public TRefCountedComputationNode<IComputationNode
[[noreturn]]
void ThrowNotSupportedImplForClass(const TString& className, const char *func);

template <typename TDerived, typename TBaseExt = NYql::NUdf::IBoxedValue>
class TComputationValueBase: public TBaseExt
template <typename TDerived>
class TComputationValueBase: public NYql::NUdf::IBoxedValue
{
private:
using TBase = TBaseExt;
using TBase = NYql::NUdf::IBoxedValue;
public:
template <typename... Args>
TComputationValueBase(Args&&... args)
Expand Down Expand Up @@ -1104,11 +1104,11 @@ class TComputationValueBase: public TBaseExt
}
};

template <typename TDerived, typename TBaseExt, EMemorySubPool MemoryPool>
class TComputationValueImpl: public TComputationValueBase<TDerived, TBaseExt>,
template <typename TDerived, EMemorySubPool MemoryPool>
class TComputationValueImpl: public TComputationValueBase<TDerived>,
public TWithMiniKQLAlloc<MemoryPool> {
private:
using TBase = TComputationValueBase<TDerived, TBaseExt>;
using TBase = TComputationValueBase<TDerived>;
protected:
inline TMemoryUsageInfo* GetMemInfo() const {
#ifndef NDEBUG
Expand Down Expand Up @@ -1144,18 +1144,18 @@ class TComputationValueImpl: public TComputationValueBase<TDerived, TBaseExt>,
#endif
};

template <typename TDerived, typename TBaseExt = NUdf::IBoxedValue>
class TTemporaryComputationValue: public TComputationValueImpl<TDerived, TBaseExt, EMemorySubPool::Temporary> {
template <typename TDerived>
class TTemporaryComputationValue: public TComputationValueImpl<TDerived, EMemorySubPool::Temporary> {
private:
using TBase = TComputationValueImpl<TDerived, TBaseExt, EMemorySubPool::Temporary>;
using TBase = TComputationValueImpl<TDerived, EMemorySubPool::Temporary>;
public:
using TBase::TBase;
};

template <typename TDerived, typename TBaseExt = NUdf::IBoxedValue>
class TComputationValue: public TComputationValueImpl<TDerived, TBaseExt, EMemorySubPool::Default> {
template <typename TDerived>
class TComputationValue: public TComputationValueImpl<TDerived, EMemorySubPool::Default> {
private:
using TBase = TComputationValueImpl<TDerived, TBaseExt, EMemorySubPool::Default>;
using TBase = TComputationValueImpl<TDerived, EMemorySubPool::Default>;
public:
using TBase::TBase;
};
Expand Down

0 comments on commit 2cb5973

Please sign in to comment.