Commit 6d925cad authored by Oliver Kellogg's avatar Oliver Kellogg

umbrello/codegenerators/d/dcodegenerator.cpp

umbrello/codegenerators/d/dwriter.cpp
- In function defaultDatatypes() add type "string" to the list, see
  https://dlang.org/spec/arrays.html#strings

CCBUG: 124805
parent 41b8e258
...@@ -170,7 +170,8 @@ QStringList DCodeGenerator::defaultDatatypes() ...@@ -170,7 +170,8 @@ QStringList DCodeGenerator::defaultDatatypes()
<< QLatin1String("creal") << QLatin1String("creal")
<< QLatin1String("char") << QLatin1String("char")
<< QLatin1String("wchar") << QLatin1String("wchar")
<< QLatin1String("dchar"); << QLatin1String("dchar")
<< QLatin1String("string");
return l; return l;
} }
......
...@@ -755,7 +755,8 @@ QStringList DWriter::defaultDatatypes() ...@@ -755,7 +755,8 @@ QStringList DWriter::defaultDatatypes()
<< QLatin1String("creal") << QLatin1String("creal")
<< QLatin1String("char") << QLatin1String("char")
<< QLatin1String("wchar") << QLatin1String("wchar")
<< QLatin1String("dchar"); << QLatin1String("dchar")
<< QLatin1String("string");
return l; return l;
} }
......
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