Commit 0d368345 authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix crash on Core::Id().toString()



Change-Id: I515c5df8480f54e49ef0873472b54459f2db5a81
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent eb337b06
......@@ -52,7 +52,9 @@ namespace Core {
class StringHolder
{
public:
StringHolder() {}
StringHolder()
: n(0), str(0)
{}
StringHolder(const char *s, int length)
: n(length), str(s)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment