forked from qt-creator/qt-creator
CPlusPlus: Make Environment::hashCode more local.
The function call itself shows in the critical path. Let's shave off a few cycles by making it easier inlinable. Change-Id: I14b06de27e99fa00f3be757193f2037792b18e01 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -87,8 +87,6 @@ public:
|
||||
void dump() const;
|
||||
|
||||
private:
|
||||
static unsigned hashCode(const QByteArray &s);
|
||||
static unsigned hashCode(const ByteArrayRef &s);
|
||||
void rehash();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user