diff options
author | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-22 11:58:34 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-25 09:39:51 +0000 |
commit | e562af2c299a7770f429df0161a2088622acf06c (patch) | |
tree | f80b498c18486874129bae30e62928c2a3598b0a /src/libs/utils/smallstringliteral.h | |
parent | d1b32592467b053c7352c6aeb42431bdf49c61f3 (diff) |
Utils: Rename isReference to isReadOnlyReference
There is implicit knowledge that the reference is read only in the code
so we should honor that and make is explicit.
Change-Id: I0d6eab6595ae1414ad2607760a2e02fd49bafd72
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/smallstringliteral.h')
-rw-r--r-- | src/libs/utils/smallstringliteral.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/smallstringliteral.h b/src/libs/utils/smallstringliteral.h index 315c64d07a6..6ad79fe6162 100644 --- a/src/libs/utils/smallstringliteral.h +++ b/src/libs/utils/smallstringliteral.h @@ -111,9 +111,9 @@ public: } constexpr - bool isReference() const noexcept + bool isReadOnlyReference() const noexcept { - return m_data.shortString.isReference; + return m_data.shortString.isReadOnlyReference; } operator SmallStringView() const |