diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-28 22:52:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-28 22:52:13 +0000 |
| commit | a112eeb4d052b1212f94e95efd83a215213da691 (patch) | |
| tree | cc023a901e0cbbd14e79a3ce084691fd9445c03a /src/lib/colour_conversion.cc | |
| parent | a76f484d1e5c6c44c8d2e4938340e8559b2ef65a (diff) | |
Small fixes and tidy-ups spotted by cppcheck.
Diffstat (limited to 'src/lib/colour_conversion.cc')
| -rw-r--r-- | src/lib/colour_conversion.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/colour_conversion.cc b/src/lib/colour_conversion.cc index ad09458f9..028912f2b 100644 --- a/src/lib/colour_conversion.cc +++ b/src/lib/colour_conversion.cc @@ -193,8 +193,9 @@ PresetColourConversion::PresetColourConversion (string n, dcp::ColourConversion PresetColourConversion::PresetColourConversion (cxml::NodePtr node, int version) : conversion (node, version) + , name (node->string_child ("Name")) { - name = node->string_child ("Name"); + } void |
