diff options
Diffstat (limited to 'src/ViewStyle.cxx')
| -rw-r--r-- | src/ViewStyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index ec6d8e52c..6ec980af4 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -582,7 +582,7 @@ void ViewStyle::CreateAndAddFont(const FontSpecification &fs) { if (fs.fontName) { FontMap::iterator it = fonts.find(fs); if (it == fonts.end()) { - fonts[fs] = std::unique_ptr<FontRealised>(new FontRealised()); + fonts[fs] = Sci::make_unique<FontRealised>(); } } } |
