Tiny optimisation; Object default constructor calls make_uuid.
authorCarl Hetherington <cth@carlh.net>
Sun, 7 Jun 2015 23:32:41 +0000 (00:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 7 Jun 2015 23:32:41 +0000 (00:32 +0100)
src/reel_asset.cc

index d56a492b837ee225edbc35fddae390f128091c33..04f34904abfacfa785205ba34facf0de30f8ab0a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 */
 
+/** @file  src/reel_asset.cc
+ *  @brief ReelAsset class.
+ */
+
 #include "raw_convert.h"
 #include "reel_asset.h"
 #include "asset.h"
@@ -32,8 +36,7 @@ using boost::shared_ptr;
 using namespace dcp;
 
 ReelAsset::ReelAsset ()
-       : Object (make_uuid ())
-       , _asset_ref (_id)
+       : _asset_ref (_id)
        , _edit_rate (Fraction (24, 1))
        , _intrinsic_duration (0)
        , _entry_point (0)