diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 00:32:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 00:32:41 +0100 |
| commit | 5694bd6954baacd8bed0ef115bbfcf1e73f027b9 (patch) | |
| tree | 1f2f238cabb0cd9835871dfb01b28f95c35089c2 /src | |
| parent | 331b2f8297b2b8a6db07a22dbbff7f913fe7a2f1 (diff) | |
Tiny optimisation; Object default constructor calls make_uuid.
Diffstat (limited to 'src')
| -rw-r--r-- | src/reel_asset.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc index d56a492b..04f34904 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -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 @@ -17,6 +17,10 @@ */ +/** @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) |
