projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small fixes and tidy-ups spotted by cppcheck.
[dcpomatic.git]
/
src
/
lib
/
font.cc
diff --git
a/src/lib/font.cc
b/src/lib/font.cc
index ecf7aabf0146ae6c707ebf4218db19427d0d6a53..5cf30a2aae370704d985fc6fe31c102f0fcfaad3 100644
(file)
--- a/
src/lib/font.cc
+++ b/
src/lib/font.cc
@@
-21,9
+21,10
@@
#include <libxml++/libxml++.h>
Font::Font (cxml::NodePtr node)
+ : id (node->string_child ("Id"))
+ , file (node->optional_string_child ("File"))
{
- id = node->string_child ("Id");
- file = node->optional_string_child ("File");
+
}
void