Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
68160cfa
Commit
68160cfa
authored
Nov 20, 2009
by
hjk
Browse files
compile fix with namespaced Qt
parent
e4a7792d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/LookupContext.cpp
View file @
68160cfa
...
...
@@ -43,12 +43,14 @@
using
namespace
CPlusPlus
;
QT_BEGIN_NAMESPACE
uint
qHash
(
const
CPlusPlus
::
LookupItem
&
key
)
{
const
uint
h1
=
qHash
(
key
.
type
().
type
());
const
uint
h2
=
qHash
(
key
.
lastVisibleSymbol
());
return
((
h1
<<
16
)
|
(
h1
>>
16
))
^
h2
;
}
QT_END_NAMESPACE
/////////////////////////////////////////////////////////////////////
// LookupContext
...
...
src/libs/cplusplus/LookupContext.h
View file @
68160cfa
...
...
@@ -231,7 +231,9 @@ private:
}
// end of namespace CPlusPlus
QT_BEGIN_NAMESPACE
uint
qHash
(
const
CPlusPlus
::
LookupItem
&
result
);
QT_END_NAMESPACE
#endif // CPLUSPLUS_LOOKUPCONTEXT_H
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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