diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-27 12:47:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-27 12:47:17 +0100 |
| commit | 082d6561785efb6edf22ca42ac04e809c6c92d43 (patch) | |
| tree | bb227834a734b5d79f77d1f77d50539b0573547b /src/cpl.cc | |
| parent | 9848bbe16ac822a2c089422e83194113e77d8433 (diff) | |
Make ContentVersion Id node optional. Improve error message slightly.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ CPL::CPL (string file) ContentVersion::ContentVersion (xmlpp::Node const * node) : XMLNode (node) { - id = string_node ("Id"); + id = optional_string_node ("Id"); label_text = string_node ("LabelText"); done (); } |
