Use auto to reduce some verbosity.
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ namespace glabels
|
||||
|
||||
Layout* Layout::dup() const
|
||||
{
|
||||
Layout *other = new Layout( *this );
|
||||
auto *other = new Layout( *this );
|
||||
return other;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user