зеркало из https://github.com/AvaloniaUI/angle.git
Fix dependent typename build error on non-MSVC compilers
BUG=angle:677 Change-Id: Ic0d257ef41e8c80baeddd664eb6c2cc5db94ee43 Reviewed-on: https://chromium-review.googlesource.com/203428 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
This commit is contained in:
Родитель
fb8394756e
Коммит
3dc8020ac2
|
@ -56,7 +56,7 @@ void SafeDelete(T*& resource)
|
|||
template <typename T>
|
||||
void SafeDeleteContainer(T& resource)
|
||||
{
|
||||
for (T::iterator i = resource.begin(); i != resource.end(); i++)
|
||||
for (typename T::iterator i = resource.begin(); i != resource.end(); i++)
|
||||
{
|
||||
SafeDelete(*i);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче