mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
#538 more dtor fixes and some style fixes along the way
This commit is contained in:
@@ -51,23 +51,23 @@ void Binder::freeMemory()
|
||||
{
|
||||
LengthVec::iterator itLen = _lengthIndicator.begin();
|
||||
LengthVec::iterator itLenEnd = _lengthIndicator.end();
|
||||
for(; itLen != itLenEnd; ++itLen) delete *itLen;
|
||||
for (; itLen != itLenEnd; ++itLen) delete *itLen;
|
||||
|
||||
TimeMap::iterator itT = _times.begin();
|
||||
TimeMap::iterator itTEnd = _times.end();
|
||||
for(; itT != itTEnd; ++itT) delete itT->first;
|
||||
for (; itT != itTEnd; ++itT) delete itT->first;
|
||||
|
||||
DateMap::iterator itD = _dates.begin();
|
||||
DateMap::iterator itDEnd = _dates.end();
|
||||
for(; itD != itDEnd; ++itD) delete itD->first;
|
||||
for (; itD != itDEnd; ++itD) delete itD->first;
|
||||
|
||||
TimestampMap::iterator itTS = _timestamps.begin();
|
||||
TimestampMap::iterator itTSEnd = _timestamps.end();
|
||||
for(; itTS != itTSEnd; ++itTS) delete itTS->first;
|
||||
for (; itTS != itTSEnd; ++itTS) delete itTS->first;
|
||||
|
||||
StringMap::iterator itStr = _strings.begin();
|
||||
StringMap::iterator itStrEnd = _strings.end();
|
||||
for(; itStr != itStrEnd; ++itStr) std::free(itStr->first);
|
||||
for (; itStr != itStrEnd; ++itStr) std::free(itStr->first);
|
||||
|
||||
CharPtrVec::iterator itChr = _charPtrs.begin();
|
||||
CharPtrVec::iterator endChr = _charPtrs.end();
|
||||
|
@@ -64,11 +64,11 @@ ODBCStatementImpl::~ODBCStatementImpl()
|
||||
{
|
||||
ColumnPtrVecVec::iterator it = _columnPtrs.begin();
|
||||
ColumnPtrVecVec::iterator end = _columnPtrs.end();
|
||||
for(; it != end; ++it)
|
||||
for (; it != end; ++it)
|
||||
{
|
||||
ColumnPtrVec::iterator itC = it->begin();
|
||||
ColumnPtrVec::iterator endC = it->end();
|
||||
for(; itC != endC; ++itC) delete *itC;
|
||||
for (; itC != endC; ++itC) delete *itC;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -140,7 +140,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -396,7 +396,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -559,7 +559,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -689,7 +689,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -819,7 +819,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -949,7 +949,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1079,7 +1079,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1209,7 +1209,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1339,7 +1339,7 @@ public:
|
||||
}
|
||||
|
||||
~CopyBinding()
|
||||
/// Destroys the Binding.
|
||||
/// Destroys the CopyBinding.
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -86,7 +86,8 @@ Poco::Dynamic::Var& Row::get(std::size_t col)
|
||||
try
|
||||
{
|
||||
return _values.at(col);
|
||||
}catch (std::out_of_range& re)
|
||||
}
|
||||
catch (std::out_of_range& re)
|
||||
{
|
||||
throw RangeException(re.what());
|
||||
}
|
||||
|
Reference in New Issue
Block a user