diff options
author | Wolfgang Beck <wolfgang.beck@nokia.com> | 2010-02-03 13:21:08 +1000 |
---|---|---|
committer | Wolfgang Beck <wolfgang.beck@nokia.com> | 2010-02-03 13:21:08 +1000 |
commit | e134e249196fdc86eb7a87a109e9772c9fed82a8 (patch) | |
tree | 614777bd1e0c2ee2193a721fb73d4e273bad5ff9 /src/shared/cplusplus/Control.cpp | |
parent | cc278a593b829417ae210a8e21c49d1dade88b32 (diff) | |
download | qt-creator-e134e249196fdc86eb7a87a109e9772c9fed82a8.tar.gz |
Source update.
Diffstat (limited to 'src/shared/cplusplus/Control.cpp')
-rw-r--r-- | src/shared/cplusplus/Control.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Control.cpp b/src/shared/cplusplus/Control.cpp index bc8cb2f877..3c719bbf9a 100644 --- a/src/shared/cplusplus/Control.cpp +++ b/src/shared/cplusplus/Control.cpp @@ -210,6 +210,16 @@ public: } // end of anonymous namespace +#ifdef ICHECK_BUILD +//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) { @@ -220,6 +230,7 @@ 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 { |