Skip to content

Commit

Permalink
remove xcast destuctor
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jul 18, 2024
1 parent c919724 commit e0f7409
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class XCast final: private Yuni::NonCopyable<XCast>
/*!
** \brief Destructor
*/
~XCast();
~XCast() = default;
//@}

//! \name Loading
Expand Down Expand Up @@ -105,7 +105,6 @@ class XCast final: private Yuni::NonCopyable<XCast>

private:
void allocateTemporaryData();
void destroyTemporaryData();

template<class PredicateT>
void updateMissingCoefficients(PredicateT& predicate);
Expand Down
12 changes: 0 additions & 12 deletions src/solver/ts-generator/xcast/xcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ XCast::XCast(Data::Study& study, Data::TimeSeriesType ts, IResultWriter& writer)
{
}

XCast::~XCast()
{
destroyTemporaryData();
}

template<class PredicateT>
void XCast::exportTimeSeriesToTheOutput(Progression::Task& progression, PredicateT& predicate)
{
Expand Down Expand Up @@ -301,13 +296,6 @@ void XCast::allocateTemporaryData()
}
}

void XCast::destroyTemporaryData()
{
if (!pNeverInitialized)
{
}
}

template<class PredicateT>
bool XCast::runWithPredicate(PredicateT& predicate, Progression::Task& progression)
{
Expand Down

0 comments on commit e0f7409

Please sign in to comment.