summaryrefslogtreecommitdiff
path: root/src/object.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-26 21:35:02 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-26 21:35:02 +0000
commit59886567974bd3e79d30a4a9425d86d50bf425f3 (patch)
tree68e583a64144f5cbffede882e1187ecf737b2e43 /src/object.cc
parent0703842433013ac1d5f79c09d7a8361dc2e565c8 (diff)
It builds again.
Diffstat (limited to 'src/object.cc')
-rw-r--r--src/object.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object.cc b/src/object.cc
index e9a4f62b..e3849d79 100644
--- a/src/object.cc
+++ b/src/object.cc
@@ -23,12 +23,16 @@
using std::string;
using namespace dcp;
+/** Create an Object with a random ID. */
Object::Object ()
: _id (make_uuid ())
{
}
+/** Create an Object with a given ID.
+ * @param ID to use.
+ */
Object::Object (string id)
: _id (id)
{