Change default type for generating pgLab code to QString
This commit is contained in:
parent
104ab5de1e
commit
791db7dd80
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ std::shared_ptr<const TypeMappings> GetPglabCppTypeMappings(std::shared_ptr<con
|
||||||
{ float4_oid, "float" },
|
{ float4_oid, "float" },
|
||||||
{ float8_oid, "double" }
|
{ float8_oid, "double" }
|
||||||
});
|
});
|
||||||
tm->setDefaultStringType("std::string");
|
tm->setDefaultStringType("QString");
|
||||||
tm->setDefaultContainerType("std::vector<%1>");
|
tm->setDefaultContainerType("std::vector<%1>");
|
||||||
return tm;
|
return tm;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue