forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.6'
This commit is contained in:
11
src/libs/3rdparty/cplusplus/Control.cpp
vendored
11
src/libs/3rdparty/cplusplus/Control.cpp
vendored
@@ -173,16 +173,6 @@ public:
|
||||
|
||||
} // end of anonymous namespace
|
||||
|
||||
#ifdef Q_OS_SYMBIAN
|
||||
//Symbian compiler has some difficulties to understand the templates.
|
||||
static void delete_array_entries(std::vector<Symbol *> vt)
|
||||
{
|
||||
std::vector<Symbol *>::iterator it;
|
||||
for (it = vt.begin(); it != vt.end(); ++it) {
|
||||
delete *it;
|
||||
}
|
||||
}
|
||||
#else
|
||||
template <typename _Iterator>
|
||||
static void delete_array_entries(_Iterator first, _Iterator last)
|
||||
{
|
||||
@@ -193,7 +183,6 @@ static void delete_array_entries(_Iterator first, _Iterator last)
|
||||
template <typename _Array>
|
||||
static void delete_array_entries(const _Array &a)
|
||||
{ delete_array_entries(a.begin(), a.end()); }
|
||||
#endif
|
||||
|
||||
class Control::Data
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user