diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-07-17 23:21:05 +0300 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-07-19 08:21:29 +0000 |
commit | 7cee991c70669c477aefa5009108fc0a658248de (patch) | |
tree | cf4c39585e044a28560b683e3f01c3dbd165d4c2 /src/libs/utils/smallstring.h | |
parent | 9f8dbc1d2f518a50f4b5cefc3ba4c650321c274e (diff) | |
download | qt-creator-7cee991c70669c477aefa5009108fc0a658248de.tar.gz |
Utils: Remove superfluous qualifications
Change-Id: I36e17dac0cff87f82f0ddaf97bc613389110f218
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/utils/smallstring.h')
-rw-r--r-- | src/libs/utils/smallstring.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/utils/smallstring.h b/src/libs/utils/smallstring.h index 59fc3d6699..dce302594b 100644 --- a/src/libs/utils/smallstring.h +++ b/src/libs/utils/smallstring.h @@ -146,7 +146,7 @@ public: { } - BasicSmallString(std::initializer_list<Utils::SmallStringView> list) + BasicSmallString(std::initializer_list<SmallStringView> list) : m_data(Internal::StringDataLayout<Size>()) { appendInitializerList(list, 0); @@ -695,7 +695,7 @@ private: void appendInitializerList(std::initializer_list<SmallStringView> list, std::size_t initialSize) { - auto addSize = [] (std::size_t size, Utils::SmallStringView string) { + auto addSize = [] (std::size_t size, SmallStringView string) { return size + string.size(); }; @@ -706,7 +706,7 @@ private: char *currentData = data() + initialSize; - for (Utils::SmallStringView string : list) { + for (SmallStringView string : list) { std::memcpy(currentData, string.data(), string.size()); currentData += string.size(); } |