mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-04 15:39:26 -05:00
used QStringLiteral
This commit is contained in:
@@ -27,7 +27,7 @@ SQLiteConnector::connect(const QVariantHash &config) const
|
||||
/* SQLite supports "in-memory" databases that only last as long as the owning
|
||||
connection does. These are useful for tests or for short lifetime store
|
||||
querying. In-memory databases may only have a single open connection. */
|
||||
if (config[database_] == ":memory:") {
|
||||
if (config[database_] == QStringLiteral(":memory:")) {
|
||||
// sqlite :memory: driver
|
||||
createConnection(name, config, options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user