Use auto to reduce some verbosity.
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ namespace glabels
|
||||
|
||||
Db* Db::instance()
|
||||
{
|
||||
static Db* db = new Db();
|
||||
static auto* db = new Db();
|
||||
return db;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user