From dc884249102bdda89efea85e66bdd35c951dcc8d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Feb 2021 15:00:10 +0100 Subject: [PATCH] deleted commented code --- datapool/PoolDataSetBase.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/datapool/PoolDataSetBase.cpp b/datapool/PoolDataSetBase.cpp index 7d50a40a..2fd51966 100644 --- a/datapool/PoolDataSetBase.cpp +++ b/datapool/PoolDataSetBase.cpp @@ -229,20 +229,3 @@ void PoolDataSetBase::setReadCommitProtectionBehaviour( this->timeoutTypeForSingleVars = timeoutType; this->mutexTimeoutForSingleVars = mutexTimeout; } - -/* We really should supply the container as a template argument instead of writing sth like this */ -//PoolDataSetBase::PoolDataSetBase(const PoolDataSetBase &otherSet): -// fillCount(otherSet.fillCount), state(otherSet.state), -// maxFillCount(otherSet.maxFillCount), -// protectEveryReadCommitCall(otherSet.protectEveryReadCommitCall), -// timeoutTypeForSingleVars(otherSet.timeoutTypeForSingleVars), -// mutexTimeoutForSingleVars(otherSet.mutexTimeoutForSingleVars) { -// if(registeredVariables != nullptr and otherSet.registeredVariables != nullptr) { -// std::memcpy(reinterpret_cast(*(this->registeredVariables)), -// reinterpret_cast(*(otherSet.registeredVariables)), -// fillCount * sizeof(PoolVariableIF*)); -// } -//} -// -//const PoolDataSetBase& PoolDataSetBase::operator=(const PoolDataSetBase &otherSet) { -//}