summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2017-01-31 12:18:08 +0100
committerMarco Bubke <marco.bubke@qt.io>2017-01-31 16:12:18 +0000
commita0c69c517c30bcff43ececc37817bd0b21e61ca7 (patch)
tree2033770ee5431462bbf9f463b4a337f0ad7b8f21 /src/tools
parent729c535376159f8a917e3d712d40a17d96909ecd (diff)
downloadqt-creator-a0c69c517c30bcff43ececc37817bd0b21e61ca7.tar.gz
Utils: Fix long small string
We used only 6 bit to save the short size but for SmallString with a size over 64 it is not enough. So we have now to use a uint16 instead of a uint8 if the size if over 64. Change-Id: I53558e492b6cb40b739b23a8af83d192a2e11bd2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend_global.h b/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend_global.h
index b44fba700f..9794f2bb60 100644
--- a/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend_global.h
+++ b/src/tools/clangpchmanagerbackend/source/clangpchmanagerbackend_global.h
@@ -44,7 +44,7 @@ namespace Utils {
template <uint Size>
class BasicSmallString;
using SmallString = BasicSmallString<31>;
-using PathString = BasicSmallString<191>;
+using PathString = BasicSmallString<190>;
}
namespace ClangBackEnd {