Pointer cleanup (#242)
- Made greater use of smart pointers, eliminating many instances of manual memory management - Do not use pointers at all for many non-polymorphic classes - Assorted other code cleanup
This commit is contained in:
+2
-1
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "ParserState.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QRegularExpression>
|
||||
|
||||
|
||||
@@ -70,7 +71,7 @@ namespace glabels
|
||||
///
|
||||
/// Expand all place holders
|
||||
///
|
||||
QString RawText::expand( merge::Record* record, Variables* variables ) const
|
||||
QString RawText::expand( const merge::Record& record, const Variables& variables ) const
|
||||
{
|
||||
QString text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user