From f12f85ac06c0cc0e7335429907768e580b366e82 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 14 Jan 2013 09:37:15 +0000 Subject: [PATCH] Mingw fix. Spelling correction. --- modules/juce_core/native/juce_win32_ComSmartPtr.h | 2 +- modules/juce_gui_basics/widgets/juce_ListBox.cpp | 2 +- modules/juce_gui_basics/widgets/juce_TableListBox.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_core/native/juce_win32_ComSmartPtr.h b/modules/juce_core/native/juce_win32_ComSmartPtr.h index 2603d96a00..cde5bad86f 100644 --- a/modules/juce_core/native/juce_win32_ComSmartPtr.h +++ b/modules/juce_core/native/juce_win32_ComSmartPtr.h @@ -136,7 +136,7 @@ public: JUCE_COMRESULT QueryInterface (REFIID refId, void** result) { if (refId == __uuidof (ComClass)) - return this->castToType (result); + return this->template castToType (result); return ComBaseClassHelperBase ::QueryInterface (refId, result); } diff --git a/modules/juce_gui_basics/widgets/juce_ListBox.cpp b/modules/juce_gui_basics/widgets/juce_ListBox.cpp index 515a3885e8..545357573c 100644 --- a/modules/juce_gui_basics/widgets/juce_ListBox.cpp +++ b/modules/juce_gui_basics/widgets/juce_ListBox.cpp @@ -933,7 +933,7 @@ void ListBox::startDragAndDrop (const MouseEvent& e, const var& dragDescription, Component* ListBoxModel::refreshComponentForRow (int, bool, Component* existingComponentToUpdate) { (void) existingComponentToUpdate; - jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code the recycles the components + jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code that recycles the components return nullptr; } diff --git a/modules/juce_gui_basics/widgets/juce_TableListBox.cpp b/modules/juce_gui_basics/widgets/juce_TableListBox.cpp index 45750d25cb..62c88d5d70 100644 --- a/modules/juce_gui_basics/widgets/juce_TableListBox.cpp +++ b/modules/juce_gui_basics/widgets/juce_TableListBox.cpp @@ -472,6 +472,6 @@ var TableListBoxModel::getDragSourceDescription (const SparseSet&) Component* TableListBoxModel::refreshComponentForCell (int, int, bool, Component* existingComponentToUpdate) { (void) existingComponentToUpdate; - jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code the recycles the components + jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code that recycles the components return nullptr; }