summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-03-01 08:23:35 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-03-01 08:23:35 +0400
commit4ad2fd7cdf1b95b73081f9fe61eae590504e455e (patch)
treed7049cc42591d05f8f0d3a33e5dc6f55a13edcbe /sql/item_cmpfunc.h
parent8fb2919e1d53f9e066ba87474e97a285d4607d46 (diff)
downloadmariadb-git-4ad2fd7cdf1b95b73081f9fe61eae590504e455e.tar.gz
Fix compile error on windows in fix for mdev-4177.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index de67d260c76..33f147b7b0f 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1811,7 +1811,7 @@ public:
from the list when performing an iteration.
*/
-template <template<class> class LI, class T> class Item_equal_iterator
+template <template<class> class LI, typename T> class Item_equal_iterator
: public LI<T>
{
protected:
@@ -1849,13 +1849,14 @@ public:
}
};
+typedef Item_equal_iterator<List_iterator_fast,Item > Item_equal_iterator_fast;
class Item_equal_fields_iterator
- :public Item_equal_iterator<List_iterator_fast,Item >
+ :public Item_equal_iterator_fast
{
public:
Item_equal_fields_iterator(Item_equal &item_eq)
- :Item_equal_iterator<List_iterator_fast,Item>(item_eq)
+ :Item_equal_iterator_fast(item_eq)
{ }
Item ** ref()
{
@@ -1863,13 +1864,14 @@ public:
}
};
+typedef Item_equal_iterator<List_iterator,Item > Item_equal_iterator_iterator_slow;
class Item_equal_fields_iterator_slow
- :public Item_equal_iterator<List_iterator,Item >
+ :public Item_equal_iterator_iterator_slow
{
public:
Item_equal_fields_iterator_slow(Item_equal &item_eq)
- :Item_equal_iterator<List_iterator,Item>(item_eq)
+ :Item_equal_iterator_iterator_slow(item_eq)
{ }
void remove()
{