Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Christoph Roick
kdevelop
Commits
04946b00
Commit
04946b00
authored
Dec 04, 2020
by
Milian Wolff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QMap -> QHash
Order isn't important for these maps, use the faster hash instead.
parent
47dfb628
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
kdevplatform/language/highlighting/codehighlighting.h
kdevplatform/language/highlighting/codehighlighting.h
+3
-3
No files found.
kdevplatform/language/highlighting/codehighlighting.h
View file @
04946b00
...
...
@@ -135,8 +135,8 @@ public:
mutable
QHash
<
KDevelop
::
DUContext
*
,
KDevelop
::
Declaration
*>
m_contextClasses
;
//Here the colors of function context are stored until they are merged into the function body
mutable
Q
Map
<
KDevelop
::
IndexedDUContext
,
QHash
<
KDevelop
::
Declaration
*
,
uint
>>
m_functionColorsForDeclarations
;
mutable
Q
Map
<
KDevelop
::
IndexedDUContext
,
ColorMap
>
m_functionDeclarationsForColors
;
mutable
Q
Hash
<
KDevelop
::
IndexedDUContext
,
QHash
<
KDevelop
::
Declaration
*
,
uint
>>
m_functionColorsForDeclarations
;
mutable
Q
Hash
<
KDevelop
::
IndexedDUContext
,
ColorMap
>
m_functionDeclarationsForColors
;
mutable
bool
m_useClassCache
;
const
CodeHighlighting
*
m_highlighting
;
...
...
@@ -193,7 +193,7 @@ private:
QVector
<
KTextEditor
::
MovingRange
*>
m_highlightedRanges
;
};
Q
Map
<
DocumentChangeTracker
*
,
DocumentHighlighting
*>
m_highlights
;
Q
Hash
<
DocumentChangeTracker
*
,
DocumentHighlighting
*>
m_highlights
;
friend
class
CodeHighlightingInstance
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment