summaryrefslogtreecommitdiffstats
path: root/src/sortdict.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
commitb70a5b4f9325ec703db37394feeaa9ebc11228b4 (patch)
tree2f918f7da3205101b2a8a300ee9afefe247b3f24 /src/sortdict.h
parent8375a55083e5232e65493e73cb594c9c5e9552ab (diff)
downloadDoxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.zip
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.gz
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.bz2
Release-1.5.9-20090622
Diffstat (limited to 'src/sortdict.h')
-rw-r--r--src/sortdict.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sortdict.h b/src/sortdict.h
index bc0488d..ddabdcd 100644
--- a/src/sortdict.h
+++ b/src/sortdict.h
@@ -107,14 +107,14 @@ class SDict
* \param size The size of the dictionary. Should be a prime number for
* best distribution of elements.
*/
- SDict(int size) : m_sizeIndex(0)
+ SDict(int size,bool caseSensitive=TRUE) : m_sizeIndex(0)
{
m_list = new SList<T>(this);
#if AUTORESIZE
while ((uint)size>SDict_primes[m_sizeIndex]) m_sizeIndex++;
- m_dict = new QDict<T>(SDict_primes[m_sizeIndex]);
+ m_dict = new QDict<T>(SDict_primes[m_sizeIndex],caseSensitive);
#else
- m_dict = new QDict<T>(size);
+ m_dict = new QDict<T>(size,caseSensitive);
#endif
}