diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-23 15:35:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-23 15:35:24 +0100 |
| commit | 6c37cc1979b2a01205a888c4c98f3334685ee8dd (patch) | |
| tree | 9de52a3053e57bdf79a7986319cb097b33e46b5c /src/object.cc | |
| parent | b75d977a38f039fd68ed5d4055ae70b4bf631603 (diff) | |
Tidying.
Diffstat (limited to 'src/object.cc')
| -rw-r--r-- | src/object.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/object.cc b/src/object.cc index 08268f18..c3bccd06 100644 --- a/src/object.cc +++ b/src/object.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,27 +31,28 @@ files in the program, then also delete it here. */ + /** @file src/object.cc - * @brief Object class. + * @brief Object class */ + #include "object.h" #include "dcp_assert.h" #include "util.h" + using std::string; using namespace dcp; -/** Create an Object with a random ID. */ + Object::Object () - : _id (make_uuid ()) + : _id (make_uuid()) { } -/** Create an Object with a given ID. - * @param id ID to use. - */ + Object::Object (string id) : _id (id) { |
